|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Event listener interface for tab events, used primarily by
TabBar
and
TabPanel
.
Method Summary | |
boolean |
onBeforeTabSelected(SourcesTabEvents sender,
int tabIndex)
Fired just before a tab is selected. |
void |
onTabSelected(SourcesTabEvents sender,
int tabIndex)
Fired when a tab is selected |
Method Detail |
public boolean onBeforeTabSelected(SourcesTabEvents sender, int tabIndex)
sender
- the TabBar
or TabPanel
whose tab was
selected.tabIndex
- the index of the tab about to be selected
false
to disallow the selection. If any listener
returns false, then the selection will be disallowed.public void onTabSelected(SourcesTabEvents sender, int tabIndex)
sender
- the TabBar
or TabPanel
whose tab was selectedtabIndex
- the index of the tab that was selected
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |