Tab interface.@Deprecated public class TabControl extends AbstractController implements Tab, TabGroupMember
| Constructor and Description |
|---|
TabControl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(Nifty nifty,
Screen screen,
Element element,
Properties parameter,
Attributes controlDefinitionAttributes)
Deprecated.
|
String |
getCaption()
Deprecated.
Get the caption that is currently set for this tab.
|
TabGroup |
getParentGroup()
Deprecated.
Get the parent group of tabs this tab is a member of.
|
boolean |
hasParent()
Deprecated.
Check if this tab was added to a parent tab group.
|
boolean |
inputEvent(NiftyInputEvent inputEvent)
Deprecated.
|
boolean |
isVisible()
Deprecated.
Check if this tab is the one that is currently visible in a tab group.
|
void |
onStartScreen()
Deprecated.
|
void |
setCaption(String caption)
Deprecated.
Set the caption of the tab.
|
void |
setParentTabGroup(TabGroup tabGroup)
Deprecated.
Set the tab group that is the parent of the tab.
|
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, init, 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 bind(Nifty nifty, Screen screen, Element element, Properties parameter, Attributes controlDefinitionAttributes)
bind in interface Controllerpublic void setCaption(String caption)
TabsetCaption in interface Tabcaption - the text to displaypublic boolean hasParent()
Tabpublic String getCaption()
TabgetCaption in interface Tabpublic TabGroup getParentGroup()
TabgetParentGroup in interface Tabnull in case this tab is not yet assigned to a tab grouppublic boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent in interface Controllerpublic boolean isVisible()
Tabpublic void onStartScreen()
onStartScreen in interface Controllerpublic void setParentTabGroup(TabGroup tabGroup)
TabGroupMembersetParentTabGroup in interface TabGroupMembertabGroup - the parent tab groupCopyright © 2013. All Rights Reserved.