|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
com.tensegrity.palowebviewer.modules.widgets.client.tab.GTabPanel
public class GTabPanel
A panel that represents a tabbed set of pages, each of which contains another widget. Its child widgets are shown as the user selects the various tabs associated with them. The tabs can contain arbitrary HTML.
Note that this widget is not a panel per se, but rather a
Composite
that aggregates a
TabBar
and a
DeckPanel
. It does, however, implement
HasWidgets
.
Constructor Summary | |
---|---|
GTabPanel()
Creates an empty tab panel. |
Method Summary | |
---|---|
void |
add(ITabElement tab,
boolean selected)
|
void |
add(com.google.gwt.user.client.ui.Widget w)
|
void |
addTabListener(TabListener listener)
|
void |
changeIconTab(ITabElement tab)
|
void |
changeTitleTab(ITabElement tab)
|
ITabElement |
getTab(int index)
|
int |
getTabsCount()
|
int |
getWidgetIndex(com.google.gwt.user.client.ui.Widget widget)
|
java.util.Iterator |
iterator()
|
boolean |
remove(ITabElement tab)
Removes the given widget, and its associated tab. |
void |
removeTabListener(TabListener listener)
|
void |
selectTab(ITabElement tab)
Programmatically selects the specified tab. |
Methods inherited from class com.google.gwt.user.client.ui.Composite |
---|
getElement, getWidget, initWidget, isAttached, onAttach, onDetach, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
doAttachChildren, doDetachChildren, getParent, onBrowserEvent, onLoad, onUnload, removeFromParent, setElement |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GTabPanel()
Method Detail |
---|
public void add(com.google.gwt.user.client.ui.Widget w)
public void add(ITabElement tab, boolean selected)
public void addTabListener(TabListener listener)
public ITabElement getTab(int index)
public int getTabsCount()
public int getWidgetIndex(com.google.gwt.user.client.ui.Widget widget)
public java.util.Iterator iterator()
public boolean remove(ITabElement tab)
widget
- the widget to be removedpublic void removeTabListener(TabListener listener)
public void selectTab(ITabElement tab)
index
- the index of the tab to be selectedpublic void changeTitleTab(ITabElement tab)
public void changeIconTab(ITabElement tab)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |