public interface TabContainerHandler
| Modifier and Type | Method and Description |
|---|---|
TabHandler |
getTabHandler(int index)
Returns the tab handler of the tab i.
|
JTabbedPane |
getTabPanel() |
void |
init() |
boolean |
onTabChanged(int currentIndex,
int newIndex)
Method called when the user selects a tab.
|
boolean |
removeTab(int i)
Removes the tab i
|
void |
setCustomTab(int index,
TabContentModel model)
Sets a
CustomTab as tab component. |
JTabbedPane getTabPanel()
void init()
boolean onTabChanged(int currentIndex,
int newIndex)
currentIndex - newIndex - false if you want to prevent the tab change,
true otherwiseTabHandler getTabHandler(int index)
index - the index of the tabTabHandler interface,
null otherwisevoid setCustomTab(int index,
TabContentModel model)
CustomTab as tab component.index - model - boolean removeTab(int i)
i - the index of the tab to removefalse if you want to prevent the tab close,
true otherwiseCopyright © 2008–2016 CodeLutin. All rights reserved.