Object | +--YAHOO.ext.TabPanelItem
Defined in TabPanel.js
| Constructor Summary | |
YAHOO.ext.TabPanelItem
(tabPanel, id, text)
|
|
| Method Summary * Parameter types in italic indicate optional parameters | |
void
|
activate()
Activate this TabPanelItem - this does deactivate the currently active TabPanelItem. |
void
|
disable()
Disable this TabPanelItem - this call is ignore if this is the active TabPanelItem. |
void
|
enable()
Enable this TabPanelItem if it was previously disabled. |
YAHOO.ext.UpdateManager
|
getUpdateManager()
Get the YAHOO.ext.UpdateManager for the body of this TabPanelItem. |
void
|
hide()
Hide this TabPanelItem - if you don't activate another TabPanelItem this could look odd. |
void
|
setContent(<String> content)
Set the content for this TabPanelItem. |
void
|
setText(text)
|
YAHOO.ext.UpdateManager
|
setUrl(<String/Function> url, <String/Object> params, <Boolean> loadOnce)
Set a URL to be used to load the content for this TabPanelItem. |
void
|
show()
Show this TabPanelItem - this does not deactivate the currently active TabPanelItem. |
| Constructor Detail |
YAHOO.ext.TabPanelItem(tabPanel, id, text)
| Method Detail |
void activate()
void disable()
void enable()
YAHOO.ext.UpdateManager getUpdateManager()
void hide()
void setContent(<String> content)
content - The content
void setText(text)
YAHOO.ext.UpdateManager setUrl(<String/Function> url, <String/Object> params, <Boolean> loadOnce)
url - The url to load the content from or a function to call to get the url
params - (optional) The string params for the update call or an object of the params. See YAHOO.ext.UpdateManager.update() for more details. (Defaults to null)
loadOnce - (optional) Whether to only load the content once. If this is false it makes the Ajax call every time this TabPanelItem is activated. (Defaults to false)
void show()