Class TabPanelWithDropdowns.DropDownTab
- 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.UnorderedList
-
- org.gwtbootstrap3.client.ui.DropDownMenu
-
- org.uberfire.client.views.pfly.tab.TabPanelWithDropdowns.DropDownTab
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers,com.google.gwt.event.shared.HasHandlers,com.google.gwt.user.client.EventListener,com.google.gwt.user.client.ui.HasVisibility,com.google.gwt.user.client.ui.HasWidgets,com.google.gwt.user.client.ui.HasWidgets.ForIsWidget,com.google.gwt.user.client.ui.IndexedPanel,com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget,com.google.gwt.user.client.ui.IsWidget,Iterable<com.google.gwt.user.client.ui.Widget>,org.gwtbootstrap3.client.ui.base.HasId,org.gwtbootstrap3.client.ui.base.HasInlineStyle,org.gwtbootstrap3.client.ui.base.HasPull,org.gwtbootstrap3.client.ui.base.HasResponsiveness
- Enclosing class:
- TabPanelWithDropdowns
public class TabPanelWithDropdowns.DropDownTab extends org.gwtbootstrap3.client.ui.DropDownMenuContainer for the menu items that appear when the dropdown tab is clicked. Normally, should only be created byTabPanelWithDropdowns.addDropdownTab(String).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
-
-
Constructor Summary
Constructors Constructor Description DropDownTab(org.gwtbootstrap3.client.ui.AnchorListItem owningTab)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TabPanelEntryaddItem(String label, com.google.gwt.user.client.ui.Widget content)voidaddItem(TabPanelEntry tab)voidclear()intgetTabWidth()Returns the offset width of the dropdown tab widget itself (UIObject.getOffsetWidth()returns the width of the popup window).voidsetText(String text)Sets the text that appears on this dropdown's main tab.-
Methods inherited from class org.gwtbootstrap3.client.ui.html.UnorderedList
isInline, isUnstyled, setInline, setUnstyled
-
Methods inherited from class org.gwtbootstrap3.client.ui.base.ComplexWidget
add, getId, insert, insert, remove, setColor, setHiddenOn, setId, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setVisibleOn
-
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, iterator, remove
-
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, doAttachChildren, doDetachChildren, orphan, 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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
addItem
public TabPanelEntry addItem(String label, com.google.gwt.user.client.ui.Widget content)
-
addItem
public void addItem(TabPanelEntry tab)
-
setText
public void setText(String text)
Sets the text that appears on this dropdown's main tab.- Parameters:
text- the new label for the dropdown tab.
-
clear
public void clear()
- Specified by:
clearin interfacecom.google.gwt.user.client.ui.HasWidgets- Overrides:
clearin classcom.google.gwt.user.client.ui.Panel
-
getTabWidth
public int getTabWidth()
Returns the offset width of the dropdown tab widget itself (UIObject.getOffsetWidth()returns the width of the popup window).
-
-