Interface TabListener
Event listener interface for tab events, used primarily by
TabBar and
TabPanel.
Methods
Method Detail
onBeforeTabSelected
Fired just before a tab is selected.
Parameters
- sender
- the TabBar or TabPanel whose tab was
selected.
- tabIndex
- the index of the tab about to be selected
Return Value
false
to disallow the selection. If any listener
returns false, then the selection will be disallowed.
onTabSelected
Fired when a tab is selected.
Parameters
- sender
- the TabBar or TabPanel whose tab was selected
- tabIndex
- the index of the tab that was selected