public interface Tab extends NiftyControl
TabGroup.
For the most aspects it behaves like a simple panel.| Modifier and Type | Method and Description |
|---|---|
String |
getCaption()
Get the caption that is currently set for this tab.
|
TabGroup |
getParentGroup()
Get the parent group of tabs this tab is a member of.
|
boolean |
hasParent()
Check if this tab was added to a parent tab group.
|
boolean |
isVisible()
Check if this tab is the one that is currently visible in a tab group.
|
void |
setCaption(String caption)
Set the caption of the tab.
|
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthString getCaption()
TabGroup getParentGroup()
null in case this tab is not yet assigned to a tab groupboolean hasParent()
true if this tab is part of a groupboolean isVisible()
true if this tab is the one currently displayedvoid setCaption(String caption)
caption - the text to displayCopyright © 2013. All Rights Reserved.