Controller, NiftyControl, Tab, TabGroupMemberTab interface.@Deprecated public class TabControl extends AbstractController implements Tab, TabGroupMember
| Constructor | Description |
|---|---|
TabControl() |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
bind(Nifty nifty,
Screen screen,
Element element,
Parameters parameter) |
Deprecated.
|
java.lang.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(java.lang.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, onEndScreen, onFocus, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthdisable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthpublic void bind(@Nonnull
Nifty nifty,
@Nonnull
Screen screen,
@Nonnull
Element element,
@Nonnull
Parameters parameter)
bind in interface Controllerpublic void setCaption(@Nonnull
java.lang.String caption)
TabsetCaption in interface Tabcaption - the text to displaypublic boolean hasParent()
Tab@Nonnull public java.lang.String getCaption()
TabgetCaption in interface Tab@Nullable public TabGroup getParentGroup()
TabgetParentGroup in interface Tabnull in case this tab is not yet assigned to a tab grouppublic boolean inputEvent(@Nonnull
NiftyInputEvent inputEvent)
inputEvent in interface Controllerpublic boolean isVisible()
Tabpublic void onStartScreen()
onStartScreen in interface Controllerpublic void setParentTabGroup(@Nullable
TabGroup tabGroup)
TabGroupMembersetParentTabGroup in interface TabGroupMembertabGroup - the parent tab groupCopyright © 2018. All rights reserved.