public class TabPanelWithDropdowns.DropDownTab
extends org.gwtbootstrap3.client.ui.DropDownMenu
TabPanelWithDropdowns.addDropdownTab(String).com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled| Constructor and Description |
|---|
DropDownTab(org.gwtbootstrap3.client.ui.AnchorListItem owningTab) |
| Modifier and Type | Method and Description |
|---|---|
TabPanelEntry |
addItem(String label,
com.google.gwt.user.client.ui.Widget content) |
void |
addItem(TabPanelEntry tab) |
void |
clear() |
int |
getTabWidth()
Returns the offset width of the dropdown tab widget itself (
UIObject.getOffsetWidth() returns the width of the popup window). |
void |
setText(String text)
Sets the text that appears on this dropdown's main tab.
|
isInline, isUnstyled, setInline, setUnstyledadd, getId, insert, insert, remove, setColor, setHiddenOn, setId, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setVisibleOnadd, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, iterator, removeadd, adopt, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic DropDownTab(org.gwtbootstrap3.client.ui.AnchorListItem owningTab)
public TabPanelEntry addItem(String label, com.google.gwt.user.client.ui.Widget content)
public void addItem(TabPanelEntry tab)
public void setText(String text)
text - the new label for the dropdown tab.public void clear()
clear in interface com.google.gwt.user.client.ui.HasWidgetsclear in class com.google.gwt.user.client.ui.Panelpublic int getTabWidth()
UIObject.getOffsetWidth() returns the width of the popup window).Copyright © 2012–2021 JBoss by Red Hat. All rights reserved.