TabGroup interface.@Deprecated public class TabGroupControl extends AbstractController implements TabGroup
| Constructor and Description |
|---|
TabGroupControl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTab(Element tab)
Deprecated.
Adds a single tab to the end of the tab list.
|
void |
addTab(Tab tab)
Deprecated.
Adds a single tab to the end of the tab list.
|
void |
addTab(TabBuilder tabBuilder)
Deprecated.
Add a tab builder to the list.
|
void |
bind(Nifty nifty,
Screen screen,
Element element,
Properties parameter,
Attributes controlDefinitionAttributes)
Deprecated.
|
Tab |
getSelectedTab()
Deprecated.
Get the tab that is currently selected.
|
int |
getSelectedTabIndex()
Deprecated.
Get the index of the tab that is currently selected.
|
int |
getTabCount()
Deprecated.
Get the amount of tabs that are currently part of this tab group.
|
int |
indexOf(Tab tab)
Deprecated.
Get the index of a specified tab.
|
void |
init(Properties parameter,
Attributes controlDefinitionAttributes)
Deprecated.
|
boolean |
inputEvent(NiftyInputEvent inputEvent)
Deprecated.
|
boolean |
isTabInGroup(Tab tab)
Deprecated.
Check if a tab is part of this group.
|
void |
onStartScreen()
Deprecated.
|
void |
removeTab(Element tab)
Deprecated.
Remove a tab from this tab group.
|
void |
removeTab(Element tab,
EndNotify notify)
Deprecated.
Remove a tab from this tab group.
|
void |
removeTab(int index)
Deprecated.
Removes the tab at a specified list index.
|
void |
removeTab(int index,
EndNotify notify)
Deprecated.
Removes the tab at a specified list index.
|
void |
removeTab(Tab tab)
Deprecated.
Remove a tab from this tab group.
|
void |
removeTab(Tab tab,
EndNotify notify)
Deprecated.
Remove a tab from this tab group.
|
void |
setSelectedTab(Tab tab)
Deprecated.
Change the selected tab to a specified tab.
|
void |
setSelectedTabIndex(int index)
Deprecated.
Change the selected tab to a index.
|
void |
setTabCaption(int index,
String caption)
Deprecated.
Set the caption of a tab.
|
void |
setTabCaption(Tab tab,
String caption)
Deprecated.
Set the caption of a tab.
|
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, onFocus, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthpublic void addTab(Element tab)
TabGrouppublic void addTab(TabBuilder tabBuilder)
TabGroupElementBuilder.build(Nifty, Screen, Element) function.public void bind(Nifty nifty, Screen screen, Element element, Properties parameter, Attributes controlDefinitionAttributes)
bind in interface Controllerpublic Tab getSelectedTab()
TabGroupgetSelectedTab in interface TabGroupnull in case there are no tabs in this tab grouppublic int getSelectedTabIndex()
TabGroupgetSelectedTabIndex in interface TabGroup-1 in case there are no tabs in this grouppublic void init(Properties parameter, Attributes controlDefinitionAttributes)
init in interface Controllerinit in class AbstractControllerpublic void addTab(Tab tab)
TabGrouppublic int indexOf(Tab tab)
TabGrouppublic int getTabCount()
TabGroupgetTabCount in interface TabGrouppublic boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent in interface Controllerpublic boolean isTabInGroup(Tab tab)
TabGroupisTabInGroup in interface TabGrouptab - the tab to checktrue in case the tab is registered to this grouppublic void onStartScreen()
onStartScreen in interface Controllerpublic void removeTab(int index)
TabGrouppublic void removeTab(Tab tab)
TabGrouppublic void removeTab(Element tab)
TabGrouppublic void removeTab(int index,
EndNotify notify)
TabGrouppublic void removeTab(Tab tab, EndNotify notify)
TabGrouppublic void removeTab(Element tab, EndNotify notify)
TabGrouppublic void setSelectedTab(Tab tab)
TabGroupsetSelectedTab in interface TabGrouptab - the tab that is supposed to be displayed in the tab grouppublic void setSelectedTabIndex(int index)
TabGroupsetSelectedTabIndex in interface TabGroupindex - the index of the tab that is supposed to be displayedpublic void setTabCaption(int index,
String caption)
TabGroupsetTabCaption in interface TabGroupindex - the index of the tab that is supposed to get a new captioncaption - the new caption of this tabpublic void setTabCaption(Tab tab, String caption)
TabGroupsetTabCaption in interface TabGrouptab - the tab that is supposed to receive a new captioncaption - the new caption of this tabCopyright © 2013. All Rights Reserved.