org.gwtbootstrap3.client.ui
Class TabPanel
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
org.gwtbootstrap3.client.ui.base.ComplexWidget
org.gwtbootstrap3.client.ui.html.Div
org.gwtbootstrap3.client.ui.TabPanel
- All Implemented Interfaces:
- HasAttachHandlers, HasHandlers, EventListener, HasVisibility, HasWidgets, HasWidgets.ForIsWidget, IndexedPanel, IndexedPanel.ForIsWidget, IsWidget, Iterable<Widget>, HasId, HasInlineStyle, HasPull, HasResponsiveness, HasTabPosition
public class TabPanel
- extends Div
- implements HasTabPosition
Container widget for tabs
Bootstrap Documentation
UiBinder example
<b:TabPanel>
<b:NavTabs/>
<b:TabContent/>
</b:TabPanel>
- Author:
- Joshua Godi
- See Also:
TabContent,
NavTabs
|
Constructor Summary |
TabPanel()
Creates the widget with the default styles |
| Methods inherited from class org.gwtbootstrap3.client.ui.base.ComplexWidget |
add, getId, getPull, insert, setColor, setHiddenOn, setId, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPull, setVisibleOn |
| Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents |
| 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, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString |
TabPanel
public TabPanel()
- Creates the widget with the default styles
setTabPosition
public void setTabPosition(TabPosition tabPosition)
- Sets the positions of the tab (left, right, bottom, top)
Default: TOP
- Specified by:
setTabPosition in interface HasTabPosition
- Parameters:
tabPosition - position of the tabs
getTabPosition
public TabPosition getTabPosition()
- Gets the tab position
- Specified by:
getTabPosition in interface HasTabPosition
- Returns:
- tab position
Copyright © 2015. All rights reserved.