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, setWidth
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth
public void bind(Nifty nifty, Screen screen, Element element, Properties parameter, Attributes controlDefinitionAttributes)
bind
in interface Controller
public void setCaption(String caption)
Tab
setCaption
in interface Tab
caption
- the text to displaypublic boolean hasParent()
Tab
public String getCaption()
Tab
getCaption
in interface Tab
public TabGroup getParentGroup()
Tab
getParentGroup
in interface Tab
null
in case this tab is not yet assigned to a tab grouppublic boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent
in interface Controller
public boolean isVisible()
Tab
public void onStartScreen()
onStartScreen
in interface Controller
public void setParentTabGroup(TabGroup tabGroup)
TabGroupMember
setParentTabGroup
in interface TabGroupMember
tabGroup
- the parent tab groupCopyright © 2013. All Rights Reserved.