public static interface JVetoableTabbedPane.ChangeSelectedIndex
| Modifier and Type | Method and Description |
|---|---|
boolean |
canChangeTab(int currentSelectedIndex,
int newSelectedIndex)
Ask to change tab from
selectedIndex tab to index. |
boolean canChangeTab(int currentSelectedIndex,
int newSelectedIndex)
selectedIndex tab to index.
If response is false, then we should not quit the current tab.
currentSelectedIndex - the current index of the selected tabnewSelectedIndex - the index of the tab we want to go ontrue if we can do the change, false otherwise.Copyright © 2008–2019 Ultreia.io. All rights reserved.