public class TabPane extends Div implements HasActive
<b:TabContent>
<b:TabPane/>
<b:TabPane/>
</b:TabContent>
TabContent
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
IndexedPanel.ForIsWidget
HasWidgets.ForIsWidget
DEBUG_ID_PREFIX
Constructor and Description |
---|
TabPane()
Creates the default widget with the default styles
|
Modifier and Type | Method and Description |
---|---|
boolean |
isActive()
Gets whether or not the widget has the active styles
|
void |
setActive(boolean active)
Sets the widget with the active styles or not
|
void |
setFade(boolean fade)
Sets whether or not to fade the tab pane in/out when clicked
Must set in="true" on the first tab if using fade!!
|
void |
setIn(boolean in)
When using fade, but set the first tabpane with in="true" to work properly
|
add, getId, getPull, insert, insert, remove, setColor, setHiddenOn, setId, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPull, setVisibleOn
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, iterator, remove
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public TabPane()
public void setFade(boolean fade)
fade
- true=fade content in/out, false=don't fadepublic void setIn(boolean in)
in
- whether or not the first tab pane will be faded properlypublic void setActive(boolean active)
Copyright © 2017. All rights reserved.