|
||||||||||
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.GTabBar
public class GTabBar
A horizontal bar of folder-style tabs
Constructor Summary | |
---|---|
GTabBar()
Creates an empty tab bar. |
Method Summary | |
---|---|
void |
addTab(java.lang.String text,
java.lang.String imgURL,
boolean closeable,
boolean selected)
Adds a new tab with the specified text, icon and close button |
void |
addTabListener(TabListener listener)
|
int |
getTabCount()
Gets the number of tabs present. |
void |
removeTab(int index)
Removes the tab at the specified index. |
void |
selectTab(int index)
|
void |
selectTab(com.google.gwt.user.client.ui.Widget w)
|
void |
setTabIcon(java.lang.String iconUrl,
int index)
|
void |
setTabTitle(java.lang.String title,
int index)
|
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 GTabBar()
Method Detail |
---|
public void addTab(java.lang.String text, java.lang.String imgURL, boolean closeable, boolean selected)
text
- the new tab's textasHTML
- true
to treat the specified text as htmlimgURL
- the tab's icon URLcloseable
- true
with close buttonpublic void addTabListener(TabListener listener)
public int getTabCount()
public void removeTab(int index)
index
- the index of the tab to be removedpublic void selectTab(int index)
public void setTabTitle(java.lang.String title, int index)
public void setTabIcon(java.lang.String iconUrl, int index)
public void selectTab(com.google.gwt.user.client.ui.Widget w)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |