public class DecoratedTabBar extends TabBar
A TabBar
that wraps each tab in a 2x3 grid (six box), which allows
users to add rounded corners.
TabBar.Tab
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
DEBUG_ID_PREFIX
KEY_ALT, KEY_BACKSPACE, KEY_CTRL, KEY_DELETE, KEY_DOWN, KEY_END, KEY_ENTER, KEY_ESCAPE, KEY_HOME, KEY_LEFT, KEY_PAGEDOWN, KEY_PAGEUP, KEY_RIGHT, KEY_SHIFT, KEY_TAB, KEY_UP, MODIFIER_ALT, MODIFIER_CTRL, MODIFIER_META, MODIFIER_SHIFT
Constructor and Description |
---|
DecoratedTabBar()
Creates an empty
DecoratedTabBar . |
Modifier and Type | Method and Description |
---|---|
protected SimplePanel |
createTabTextWrapper()
Create a
SimplePanel that will wrap the contents in a tab. |
addBeforeSelectionHandler, addSelectionHandler, addTab, addTab, addTab, addTab, addTabListener, getSelectedTab, getTab, getTabCount, getTabHTML, insertTab, insertTab, insertTab, insertTab, insertTabWidget, isTabEnabled, onClick, onEnsureDebugId, onKeyDown, onKeyPress, onKeyUp, removeTab, removeTabListener, selectTab, selectTab, setTabEnabled, setTabHTML, setTabHTML, setTabText
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
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
fireEvent
public DecoratedTabBar()
DecoratedTabBar
.protected SimplePanel createTabTextWrapper()
TabBar
SimplePanel
that will wrap the contents in a tab.
Subclasses can use this method to wrap tabs in decorator panels.createTabTextWrapper
in class TabBar
SimplePanel
to wrap the tab contents, or null to leave
tabs unwrappedCopyright © 2018. All rights reserved.