|
activate() : void |
TabPanelItem |
Activate this TabPanelItem - this does deactivate the currently active TabPanelItem. |
|
addEvents(Object object ) : void |
Observable |
Copies any events from the passed object onto this object if they do not already exist. The passed object
must also ... |
|
addListener(String eventName , Function handler , [Object options ]) : void |
Observable |
Appends an event handler to this component |
|
disable() : void |
TabPanelItem |
Disable this TabPanelItem - this call is ignore if this is the active TabPanelItem. |
|
enable() : void |
TabPanelItem |
Enable this TabPanelItem if it was previously disabled. |
|
fireEvent(String eventName , Object... args ) : Boolean |
Observable |
Fires the specified event with the passed parameters (minus the event name). |
|
getText() : String |
TabPanelItem |
Returns the text for this tab |
|
getUpdateManager() : Ext.UpdateManager |
TabPanelItem |
Get the Ext.UpdateManager for the body of this TabPanelItem. Enables you to perform Ajax updates. |
|
hasListener(String eventName ) : Boolean |
Observable |
Checks to see if this object is currently listening for a specified event |
|
hide() : void |
TabPanelItem |
Hide this TabPanelItem - if you don't activate another TabPanelItem this could look odd. |
|
isActive() : Boolean |
TabPanelItem |
Returns true if this tab is the active tab |
|
isHidden() : Boolean |
TabPanelItem |
Returns true if this tab is "hidden" |
|
on(String eventName , Function handler , [Object options ]) : void |
Observable |
Appends an event handler to this element (shorthand for addListener) |
|
purgeListeners() : void |
Observable |
Removes all listeners for this object |
|
refresh() : void |
TabPanelItem |
Force a content refresh from the URL specified in the setUrl() method.
Will fail silently if the setUrl method has no... |
|
removeListener(String eventName , Function handler , [Object scope ]) : void |
Observable |
Removes a listener |
|
setContent(String content , Boolean loadScripts ) : void |
TabPanelItem |
Set the content for this TabPanelItem. |
|
setText(String text ) : void |
TabPanelItem |
Sets the text for the tab (Note: this also sets the tooltip) |
|
setTooltip(String tooltip ) : void |
TabPanelItem |
Set the tooltip for the tab |
|
setUrl(String/Function url , [String/Object params ], [Boolean loadOnce ]) : Ext.UpdateManager |
TabPanelItem |
Set a URL to be used to load the content for this TabPanelItem. |
|
show() : void |
TabPanelItem |
Show this TabPanelItem - this does not deactivate the currently active TabPanelItem. |
|
un(String eventName , Function handler , [Object scope ]) : void |
Observable |
Removes a listener (shorthand for removeListener) |
|
activate : (Ext.TabPanel tabPanel , Ext.TabPanelItem this ) |
TabPanelItem |
Fires when this tab becomes the active tab |
|
beforeclose : (Ext.TabPanelItem this , Object e ) |
TabPanelItem |
Fires before this tab is closed. To cancal the close, set cancel to true on e. (e.cancel = true) |
|
close : (Ext.TabPanelItem this ) |
TabPanelItem |
Fires when this tab is closed |
|
deactivate : (Ext.TabPanel tabPanel , Ext.TabPanelItem this ) |
TabPanelItem |
Fires when this tab is no longer the active tab |
bodyEl
public Ext.Element bodyEl
The body element for this TabPanelItem
This property is defined by TabPanelItem.
closeText
public String closeText
The text displayed in the tooltip for the close icon.
This property is defined by TabPanelItem.
id
public String id
The id for this TabPanelItem
This property is defined by TabPanelItem.
tabPanel
public Ext.TabPanel tabPanel
The TabPanel this TabPanelItem belongs to
This property is defined by TabPanelItem.
activate
public function activate()
Activate this TabPanelItem - this
does deactivate the currently active TabPanelItem.
This method is defined by TabPanelItem.
addEvents
public function addEvents(Object object
)
Copies any events from the passed object onto this object if they do not already exist. The passed object
must also inherit from Observable for this method to have any effect.
addListener
public function addListener(String eventName
, Function handler
, [Object options
])
Appends an event handler to this component
disable
public function disable()
Disable this TabPanelItem - this call is ignore if this is the active TabPanelItem.
This method is defined by TabPanelItem.
enable
public function enable()
Enable this TabPanelItem if it was previously disabled.
This method is defined by TabPanelItem.
fireEvent
public function fireEvent(String eventName
, Object... args
)
Fires the specified event with the passed parameters (minus the event name).
getText
public function getText()
Returns the text for this tab
This method is defined by TabPanelItem.
getUpdateManager
public function getUpdateManager()
Get the
Ext.UpdateManager for the body of this TabPanelItem. Enables you to perform Ajax updates.
Parameters:
Returns:
Ext.UpdateManager
The UpdateManager
This method is defined by TabPanelItem.
hasListener
public function hasListener(String eventName
)
Checks to see if this object is currently listening for a specified event
hide
public function hide()
Hide this TabPanelItem - if you don't activate another TabPanelItem this could look odd.
This method is defined by TabPanelItem.
isActive
public function isActive()
Returns true if this tab is the active tab
This method is defined by TabPanelItem.
isHidden
public function isHidden()
Returns true if this tab is "hidden"
This method is defined by TabPanelItem.
on
public function on(String eventName
, Function handler
, [Object options
])
Appends an event handler to this element (shorthand for addListener)
purgeListeners
public function purgeListeners()
Removes all listeners for this object
refresh
public function refresh()
Force a content refresh from the URL specified in the setUrl() method.
Will fail silently if the setUrl method has not been called.
This does not activate the panel, just updates its content.
This method is defined by TabPanelItem.
removeListener
public function removeListener(String eventName
, Function handler
, [Object scope
])
setContent
public function setContent(String content
, Boolean loadScripts
)
Set the content for this TabPanelItem.
This method is defined by TabPanelItem.
setText
public function setText(String text
)
Sets the text for the tab (Note: this also sets the tooltip)
This method is defined by TabPanelItem.
setTooltip
public function setTooltip(String tooltip
)
Set the tooltip for the tab
This method is defined by TabPanelItem.
setUrl
public function setUrl(String/Function url
, [String/Object params
], [Boolean loadOnce
])
Set a URL to be used to load the content for this TabPanelItem.
Parameters:
url
: String/FunctionThe url to load the content from or a function to call to get the url
params
: String/Object(optional) The string params for the update call or an object of the params. See
Ext.UpdateManager.update for more details. (Defaults to null)
loadOnce
: Boolean(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)
Returns:
Ext.UpdateManager
The UpdateManager
This method is defined by TabPanelItem.
show
public function show()
Show this TabPanelItem - this
does not deactivate the currently active TabPanelItem.
This method is defined by TabPanelItem.
un
public function un(String eventName
, Function handler
, [Object scope
])
Removes a listener (shorthand for removeListener)