Roo.util.Observable Roo.bootstrap.panel.TabItem
Package: | Roo.bootstrap.panel |
Defined In: | Roo/bootstrap/panel/TabItem.js. |
Class: | TabItem |
Extends: | Roo.util.Observable |
Options | Defined By | |
---|---|---|
listeners : Object
list of events and functions to call for this object,
For example :
list of events and functions to call for this object,
For example :
|
Roo.util.Observable |
Method | Defined By | |
---|---|---|
Create a new Roo.bootstrap.panel.TabItem
Create a new Roo.bootstrap.panel.TabItem
|
||
activate
()
Activates this TabPanelItem -- this does deactivate the currently active TabPanelItem.
Activates this TabPanelItem -- this does deactivate the currently active TabPanelItem.
|
Roo.bootstrap.panel.TabItem | |
addEvents
(Object object)
Used to define events on this Observable
Used to define events on this Observable
|
Roo.util.Observable | |
Appends an event handler to this component
Appends an event handler to this component
|
Roo.util.Observable | |
disable
()
Disables this TabPanelItem -- this does nothing if this is the active TabPanelItem.
Disables this TabPanelItem -- this does nothing if this is the active TabPanelItem.
|
Roo.bootstrap.panel.TabItem | |
enable
()
Enables this TabPanelItem if it was previously disabled.
Enables this TabPanelItem if it was previously disabled.
|
Roo.bootstrap.panel.TabItem | |
Fires the specified event with the passed parameters (minus the event name).
|
Roo.util.Observable | |
getText
()
:
String
Returns the text for this tab
Returns the text for this tab
|
Roo.bootstrap.panel.TabItem | |
getUpdateManager
()
:
Roo.UpdateManager
Gets the {link Roo.UpdateManager} for the body of this TabPanelItem.
Gets the {link Roo.UpdateManager} for the body of this TabPanelItem. Enables you to perform Ajax updates.
|
Roo.bootstrap.panel.TabItem | |
Roo.util.Observable | ||
hide
()
Hides this TabPanelItem -- if you don't activate another TabPanelItem this could look odd.
Hides this TabPanelItem -- if you don't activate another TabPanelItem this could look odd.
|
Roo.bootstrap.panel.TabItem | |
isActive
()
:
Boolean
Returns true if this tab is the active tab.
Returns true if this tab is the active tab.
|
Roo.bootstrap.panel.TabItem | |
isHidden
()
:
Boolean
Returns true if this tab is "hidden"
Returns true if this tab is "hidden"
|
Roo.bootstrap.panel.TabItem | |
Appends an event handler to this element (shorthand for addListener)
Appends an event handler to this element (shorthand for addListener)
|
Roo.util.Observable | |
purgeListeners
()
Removes all listeners for this object
Removes all listeners for this object
|
Roo.util.Observable | |
refresh
()
Forces a content refresh from the URL specified in the {link setUrl} method.
Forces a content refresh from the URL specified in the {link setUrl} method.
Will fail silently if the setUrl method has not been called. This does not activate the panel, just updates its content. |
Roo.bootstrap.panel.TabItem | |
Roo.util.Observable | ||
Roo.bootstrap.panel.TabItem | ||
setHidden
(Boolean hidden)
Show or hide the tab
Show or hide the tab
|
Roo.bootstrap.panel.TabItem | |
setText
(String text)
Sets the text for the tab (Note: this also sets the tooltip text)
Sets the text for the tab (Note: this also sets the tooltip text)
|
Roo.bootstrap.panel.TabItem | |
setTooltip
(String tooltip)
Set the tooltip for the tab.
Set the tooltip for the tab.
|
Roo.bootstrap.panel.TabItem | |
Set a URL to be used to load the content for this TabPanelItem.
Set a URL to be used to load the content for this TabPanelItem.
|
Roo.bootstrap.panel.TabItem | |
show
()
Shows this TabPanelItem -- this does not deactivate the currently active TabPanelItem.
Shows this TabPanelItem -- this does not deactivate the currently active TabPanelItem.
|
Roo.bootstrap.panel.TabItem | |
Roo.util.Observable |
Event | Defined By | |
---|---|---|
activate (Roo.TabPanel tabPanel, Roo.TabPanelItem this)
Fires when this tab becomes the active tab.
Fires when this tab becomes the active tab.
|
Roo.bootstrap.panel.TabItem | |
beforeclose (Roo.TabPanelItem this, Object e)
Fires before this tab is closed.
Fires before this tab is closed. To cancel the close, set cancel to true on e (e.cancel = true).
|
Roo.bootstrap.panel.TabItem | |
close (Roo.TabPanelItem this)
Fires when this tab is closed.
Fires when this tab is closed.
|
Roo.bootstrap.panel.TabItem | |
deactivate (Roo.TabPanel tabPanel, Roo.TabPanelItem this)
Fires when this tab is no longer the active tab.
Fires when this tab is no longer the active tab.
|
Roo.bootstrap.panel.TabItem |