Interface TabHandler
-
public interface TabHandlerInterface describing UI contained in a tab.- Since:
- 2.8
- Author:
- Kevin Morin - morin@codelutin.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanonHideTab(int currentIndex, int newIndex)Method called when the tab is hiddenbooleanonRemoveTab()Method called when the tab is removedvoidonShowTab(int currentIndex, int newIndex)Method called when the tab is shown
-
-
-
Method Detail
-
onHideTab
boolean onHideTab(int currentIndex, int newIndex)Method called when the tab is hidden- Parameters:
currentIndex-newIndex-- Returns:
falseto prevent the tab to be hidden,trueotherwise.
-
onShowTab
void onShowTab(int currentIndex, int newIndex)Method called when the tab is shown- Parameters:
currentIndex-newIndex-
-
onRemoveTab
boolean onRemoveTab()
Method called when the tab is removed- Returns:
falseto prevent the tab to be closed,trueotherwise.
-
-