org.cruxframework.crux.plugin.gadget.client.features
Class Tab

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by org.cruxframework.crux.plugin.gadget.client.features.Tab

public class Tab
extends com.google.gwt.core.client.JavaScriptObject

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

Author:
Thiago da Rosa de Bustamante

Constructor Summary
protected Tab()
           
 
Method Summary
 com.google.gwt.user.client.Element getContentContainer()
          Returns the HTML element where the tab content is rendered.
 int getIndex()
          Returns the tab's index.
 String getName()
          Returns the label of the tab as a string (may contain HTML).
 com.google.gwt.user.client.Element getNameContainer()
          Returns the HTML element that contains the tab's label.
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tab

protected Tab()
Method Detail

getContentContainer

public final com.google.gwt.user.client.Element getContentContainer()
Returns the HTML element where the tab content is rendered.

Returns:

getIndex

public final int getIndex()
Returns the tab's index.

Returns:

getName

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

Returns:

getNameContainer

public final com.google.gwt.user.client.Element getNameContainer()
Returns the HTML element that contains the tab's label.

Returns:


Copyright © 2014. All rights reserved.