Class UtilityMenuBarView
- 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.uberfire.client.views.pfly.menu.UtilityMenuBarView
-
- 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,HasMenuItems,org.uberfire.client.workbench.widgets.menu.HasMenus,org.uberfire.client.workbench.widgets.menu.UtilityMenuBarPresenter.View
@ApplicationScoped public class UtilityMenuBarView extends org.gwtbootstrap3.client.ui.html.UnorderedList implements org.uberfire.client.workbench.widgets.menu.UtilityMenuBarPresenter.View, HasMenuItems
Goes inside the collapsible navbar container, and can contain a status menu (not implemented yet) and theUserMenu.
-
-
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 UtilityMenuBarView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMenuItem(org.uberfire.workbench.model.menu.MenuPosition position, com.google.gwt.user.client.ui.Widget menuContent)Adds a new menu item to the end of the current list of menu items at the given position.voidaddMenus(org.uberfire.workbench.model.menu.Menus menus)voidsetup()-
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, getPull, insert, insert, remove, setColor, setHiddenOn, setId, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPull, 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, clear, 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
-
setup
@PostConstruct public void setup()
-
addMenus
public void addMenus(org.uberfire.workbench.model.menu.Menus menus)
- Specified by:
addMenusin interfaceorg.uberfire.client.workbench.widgets.menu.HasMenus
-
addMenuItem
public void addMenuItem(org.uberfire.workbench.model.menu.MenuPosition position, com.google.gwt.user.client.ui.Widget menuContent)Description copied from interface:HasMenuItemsAdds a new menu item to the end of the current list of menu items at the given position.- Specified by:
addMenuItemin interfaceHasMenuItems- Parameters:
position- the position to append the menu item at. Not all menu containers support positioning; those that don't will ignore this parameter. Null is always allowed and should be treated the same as CENTER by position-aware containers.menuContent- the content that should appear in the given menu item. Should have an Anchor element as its only direct child, or should be anAnchorListItemwhich is a convenient shorthand for an Anchor inside a ListItem.
-
-