Package org.nuiton.jaxx.runtime.swing
Interface JVetoableTabbedPane.ChangeSelectedIndex
-
- Enclosing class:
- JVetoableTabbedPane
public static interface JVetoableTabbedPane.ChangeSelectedIndex
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanChangeTab(int currentSelectedIndex, int newSelectedIndex)Ask to change tab fromselectedIndextab toindex.
-
-
-
Method Detail
-
canChangeTab
boolean canChangeTab(int currentSelectedIndex, int newSelectedIndex)Ask to change tab fromselectedIndextab toindex.If response is
false, then we should not quit the current tab.- Parameters:
currentSelectedIndex- the current index of the selected tabnewSelectedIndex- the index of the tab we want to go on- Returns:
trueif we can do the change,falseotherwise.
-
-