|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TabPaneSelectionListener
Tab pane selection listener interface.
Nested Class Summary | |
---|---|
static class |
TabPaneSelectionListener.Adapter
Tab pane selection listener adapter. |
Method Summary | |
---|---|
Vote |
previewSelectedIndexChange(TabPane tabPane,
int selectedIndex)
Called to preview a selected index change. |
void |
selectedIndexChanged(TabPane tabPane,
int previousSelectedIndex)
Called when a tab pane's selected index has changed. |
void |
selectedIndexChangeVetoed(TabPane tabPane,
Vote reason)
Called when a selected index change has been vetoed. |
Method Detail |
---|
Vote previewSelectedIndexChange(TabPane tabPane, int selectedIndex)
tabPane
- The source of the event.selectedIndex
- The index that will be selected.void selectedIndexChangeVetoed(TabPane tabPane, Vote reason)
tabPane
- The source of the event.reason
- The reason the event was vetoed.void selectedIndexChanged(TabPane tabPane, int previousSelectedIndex)
tabPane
- The source of the event.previousSelectedIndex
- If the selection changed directly, contains the index that was previously
selected. Otherwise, contains the current selection.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |