|
||||||||||
| 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.google.gwt.user.client.ui.TabPanel
com.google.gwt.user.client.ui.DecoratedTabPanel
org.exoplatform.gwtframework.ui.client.tab.TabPanel
public class TabPanel
Decorated TabPanel with styled TabBar Created by The eXo Platform SAS .
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets |
|---|
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
TabPanel()
Creates new instance of TabPanel. |
|
| Method Summary | |
|---|---|
void |
add(com.google.gwt.user.client.ui.Widget w)
To add a new Tab to this TabPanel use addTab(...) method. |
void |
add(com.google.gwt.user.client.ui.Widget w,
java.lang.String tabText)
To add a new Tab to this TabPanel use addTab(...) method. |
void |
add(com.google.gwt.user.client.ui.Widget w,
java.lang.String tabText,
boolean asHTML)
To add a new Tab to this TabPanel use addTab(...) method. |
void |
add(com.google.gwt.user.client.ui.Widget w,
com.google.gwt.user.client.ui.Widget tabWidget)
To add a new Tab to this TabPanel use addTab(...) method. |
com.google.gwt.event.shared.HandlerRegistration |
addCloseTabHandler(CloseTabHandler closeTabHandler)
Adds CloseTabHandler. |
void |
addTab(java.lang.String tabId,
com.google.gwt.user.client.ui.Image icon,
java.lang.String tabText,
com.google.gwt.user.client.ui.Widget widget,
boolean canClose)
|
void |
addTabButton(com.google.gwt.user.client.ui.Widget button)
Adds user defined button to this TabPanel. |
com.google.gwt.event.shared.HandlerRegistration |
addTabClosedHandler(TabClosedHandler tabClosedHandler)
|
java.lang.String |
getSelectedTabID()
Gets the ID of selected tab. |
java.lang.String |
getTabIdByIndex(int tabIndex)
Gets tab's ID through its index. |
void |
onCloseTab(CloseTabEvent event)
|
void |
onResize()
|
boolean |
remove(int index)
|
boolean |
remove(com.google.gwt.user.client.ui.Widget widget)
|
void |
removeTab(java.lang.String tabId)
Removes tab with specified Tab Id. |
void |
removeTabButton(com.google.gwt.user.client.ui.Widget tabButton)
Removes user defined button from this TabPanel. |
void |
scrollLeft()
Scroll TabBar to the left. |
void |
scrollRight()
Scroll TabBar to the right. |
void |
selectTab(java.lang.String tabId)
Selects tab with specified ID. |
void |
setTabHighlited(int tabIndex,
boolean isHighlited)
|
void |
setTabIcon(java.lang.String tabId,
com.google.gwt.user.client.ui.Image icon)
|
void |
setTabTitle(java.lang.String tabId,
java.lang.String title)
|
void |
setWrapperBorderSize(int wrapperBorderSize)
|
| Methods inherited from class com.google.gwt.user.client.ui.DecoratedTabPanel |
|---|
createTabTextWrapper |
| Methods inherited from class com.google.gwt.user.client.ui.TabPanel |
|---|
add, add, add, addBeforeSelectionHandler, addSelectionHandler, addTabListener, clear, getDeckPanel, getTabBar, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, insert, insert, insert, insert, isAnimationEnabled, iterator, onBeforeTabSelected, onEnsureDebugId, onTabSelected, removeTabListener, selectTab, selectTab, setAnimationEnabled |
| Methods inherited from class com.google.gwt.user.client.ui.Composite |
|---|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, performDetachedInitialization, render, render, resolvePotentialElement, setWidget, wrapElement |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Constructor Detail |
|---|
public TabPanel()
| Method Detail |
|---|
public void add(com.google.gwt.user.client.ui.Widget w)
add in interface com.google.gwt.user.client.ui.HasWidgetsadd in class com.google.gwt.user.client.ui.TabPanelTabPanel.add(com.google.gwt.user.client.ui.Widget)
public void add(com.google.gwt.user.client.ui.Widget w,
java.lang.String tabText)
add in class com.google.gwt.user.client.ui.TabPanelTabPanel.add(com.google.gwt.user.client.ui.Widget, java.lang.String)
public void add(com.google.gwt.user.client.ui.Widget w,
java.lang.String tabText,
boolean asHTML)
add in class com.google.gwt.user.client.ui.TabPanelTabPanel.add(com.google.gwt.user.client.ui.Widget, java.lang.String, boolean)
public void add(com.google.gwt.user.client.ui.Widget w,
com.google.gwt.user.client.ui.Widget tabWidget)
add in class com.google.gwt.user.client.ui.TabPanelTabPanel.add(com.google.gwt.user.client.ui.Widget, com.google.gwt.user.client.ui.Widget)public com.google.gwt.event.shared.HandlerRegistration addCloseTabHandler(CloseTabHandler closeTabHandler)
addCloseTabHandler in interface HasCloseTabHandlerHasCloseTabHandler.addCloseTabHandler(org.exoplatform.gwtframework.ui.client.tab.event.CloseTabHandler)public void addTabButton(com.google.gwt.user.client.ui.Widget button)
button - new buttonpublic void setWrapperBorderSize(int wrapperBorderSize)
public void addTab(java.lang.String tabId,
com.google.gwt.user.client.ui.Image icon,
java.lang.String tabText,
com.google.gwt.user.client.ui.Widget widget,
boolean canClose)
tabId - icon - tabText - widget - canClose - public com.google.gwt.event.shared.HandlerRegistration addTabClosedHandler(TabClosedHandler tabClosedHandler)
addTabClosedHandler in interface HasTabClosedHandlerHasTabClosedHandler.addTabClosedHandler(org.exoplatform.gwtframework.ui.client.tab.event.TabClosedHandler)public java.lang.String getSelectedTabID()
public java.lang.String getTabIdByIndex(int tabIndex)
tabIndex -
public void onCloseTab(CloseTabEvent event)
onCloseTab in interface CloseTabHandlerCloseTabHandler.onCloseTab(org.exoplatform.gwtframework.ui.client.tab.event.CloseTabEvent)public boolean remove(int index)
remove in interface com.google.gwt.user.client.ui.IndexedPanelremove in class com.google.gwt.user.client.ui.TabPanelTabPanel.remove(int)public boolean remove(com.google.gwt.user.client.ui.Widget widget)
remove in interface com.google.gwt.user.client.ui.HasWidgetsremove in class com.google.gwt.user.client.ui.TabPanelTabPanel.remove(com.google.gwt.user.client.ui.Widget)public void removeTabButton(com.google.gwt.user.client.ui.Widget tabButton)
tabButton - public void removeTab(java.lang.String tabId)
tabId - public void scrollLeft()
scrollLeft in interface ScrollableScrollable.scrollLeft()public void scrollRight()
scrollRight in interface ScrollableScrollable.scrollRight()public void selectTab(java.lang.String tabId)
tabId - ID of tab which will be selected.
public void setTabHighlited(int tabIndex,
boolean isHighlited)
tabIndex - isHighlited -
public void setTabIcon(java.lang.String tabId,
com.google.gwt.user.client.ui.Image icon)
tabId - icon -
public void setTabTitle(java.lang.String tabId,
java.lang.String title)
tabId - title - public void onResize()
onResize in interface com.google.gwt.user.client.ui.RequiresResizeRequiresResize.onResize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||