|
||||||||||
| 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. |
String |
getSelectedTab()
Gets the selected tab to the specified index. |
int |
getSelectedTabIndex()
Gets the selected tab to the specified index. |
void |
removeTab(int index)
Removes the tab at the specified index. |
void |
setSelectedTab(int index)
Sets the selected tab to the specified index. |
void |
setSelectedTab(String tabId)
Sets the selected 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 setSelectedTab(int index)
index - The index of the tab to make the selected tab.void setSelectedTab(String tabId)
tabId - The TabId of the tab to make the selected tab.String getSelectedTab()
int getSelectedTabIndex()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||