|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Tabs
Method Summary | |
---|---|
void |
addTab(Element tab)
Adds a single tab to the end of the Tab list. |
void |
removeTab(int index)
Removes the tab at the specified index. |
void |
setActiveTab(int index)
Sets the active tab to the specified index. |
void |
setActiveTab(String tabId)
Sets the active tab based on the tabId; |
Methods inherited from interface de.lessvoid.nifty.controls.NiftyControl |
---|
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth |
Method Detail |
---|
void addTab(Element tab)
tab
- Tab to be added.void removeTab(int index)
index
- Index of the tab to remove.void setActiveTab(int index)
index
- The index of the tab to make the active tab.void setActiveTab(String tabId)
tabId
- The TabId of the tab to make the active tab.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |