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, setUnstyled
add, getId, insert, setColor, setHiddenOn, setId, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setVisibleOn
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
add, adopt, 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 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.HasWidgets
clear
in class com.google.gwt.user.client.ui.Panel
public int getTabWidth()
UIObject.getOffsetWidth()
returns the width of the popup window).Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.