My favorites | English | Sign in

gadgets.Tab

 SUMMARY     DETAIL

Class gadgets.Tab

Tab class for gadgets. You create tabs using the TabSet addTab() method. To get Tab objects, use the TabSet getSelectedTab() or getTabs() methods.

See also: TabSet

Method Summary

 Function getCallback()
Returns the callback function that is executed when the tab is selected.
 Element getContentContainer()
Returns the HTML element where the tab content is rendered.
 Number getIndex()
Returns the tab's index.
 String getName()
Returns the label of the tab as a string (may contain HTML).
 Element getNameContainer()
Returns the HTML element that contains the tab's label.
 

Method Detail

getCallback

Function getCallback()
    Returns the callback function that is executed when the tab is selected.
    Returns:
      Function The callback function of the tab.

getContentContainer

Element getContentContainer()
    Returns the HTML element where the tab content is rendered.
    Returns:
      Element The HTML element of the content container.

getIndex

Number getIndex()
    Returns the tab's index.
    Returns:
      Number The tab's index.

getName

String getName()
    Returns the label of the tab as a string (may contain HTML).
    Returns:
      String The label of the tab.

getNameContainer

Element getNameContainer()
    Returns the HTML element that contains the tab's label.
    Returns:
      Element The HTML element of the tab's label.

Documentation generated by JsDoc Toolkit 1.3.3