Class VContextMenu
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
com.google.gwt.user.client.ui.FlowPanel
com.vaadin.client.ui.FocusableFlowPanel
com.vaadin.client.ui.VMenuBar
io.jmix.ui.widget.client.addon.contextmenu.VContextMenu
- All Implemented Interfaces:
com.google.gwt.event.dom.client.FocusHandler,com.google.gwt.event.dom.client.HasBlurHandlers,com.google.gwt.event.dom.client.HasFocusHandlers,com.google.gwt.event.dom.client.HasKeyDownHandlers,com.google.gwt.event.dom.client.HasKeyPressHandlers,com.google.gwt.event.dom.client.KeyDownHandler,com.google.gwt.event.dom.client.KeyPressHandler,com.google.gwt.event.dom.client.MouseOutHandler,com.google.gwt.event.dom.client.MouseOverHandler,com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>,com.google.gwt.event.logical.shared.HasAttachHandlers,com.google.gwt.event.shared.EventHandler,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.InsertPanel,com.google.gwt.user.client.ui.InsertPanel.ForIsWidget,com.google.gwt.user.client.ui.IsWidget,com.vaadin.client.extensions.EventTrigger,com.vaadin.client.Focusable,com.vaadin.client.ui.SubPartAware,Iterable<com.google.gwt.user.client.ui.Widget>
public class VContextMenu
extends com.vaadin.client.ui.VMenuBar
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.client.ui.VMenuBar
com.vaadin.client.ui.VMenuBar.CustomMenuItemNested 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.DebugIdImplEnabledNested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidgetNested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel
com.google.gwt.user.client.ui.IndexedPanel.ForIsWidgetNested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel
com.google.gwt.user.client.ui.InsertPanel.ForIsWidget -
Field Summary
FieldsFields inherited from class com.vaadin.client.ui.VMenuBar
CLASSNAME, client, collapsedRootItems, containerElement, emptyCommand, enabled, hostReference, htmlContentAllowed, items, menuVisible, moreItem, mouseDownPressed, openRootOnHover, parentMenu, popup, selected, subMenu, SUBMENU_CLASSNAME_PREFIX, uidlId, visibleChildMenuFields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.client.ui.VOverlayprotected com.vaadin.client.ui.VMenuBargetRoot()booleanhandleNavigation(int keycode, boolean ctrl, boolean shift) voidonClose(com.google.gwt.event.logical.shared.CloseEvent<com.google.gwt.user.client.ui.PopupPanel> event) voidonMenuClick(int clickedItemId) voidshowRootMenu(int x, int y) Methods inherited from class com.vaadin.client.ui.VMenuBar
addItem, addItem, addItem, addTrigger, buildItemHTML, buildItemHTML, clearItems, close, getCloseMenuKey, getItems, getMenuItemWithElement, getMenuItemWithElement, getNavigationDownKey, getNavigationLeftKey, getNavigationRightKey, getNavigationSelectKey, getNavigationUpKey, getParentMenu, getSelected, getSubPartElement, getSubPartName, hideChildMenu, hideChildren, hideChildren, hideParents, hideParents, iLayout, iLayout, isNavigationSelectKey, itemClick, itemOut, itemOver, onBrowserEvent, onDetach, onFocus, onKeyDown, onKeyPress, onMouseOut, onMouseOver, onShow, removeItem, setParentMenu, setSelected, setStyleName, setStylePrimaryName, showChildMenu, showChildMenuAt, updateStyleNamesMethods inherited from class com.vaadin.client.ui.FocusableFlowPanel
addBlurHandler, addFocusHandler, addKeyDownHandler, addKeyPressHandler, focus, setFocusMethods inherited from class com.google.gwt.user.client.ui.FlowPanel
add, clear, insert, insertMethods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, removeMethods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, doAttachChildren, doDetachChildren, orphan, removeMethods 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, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsMethods 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, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEventMethods inherited from interface com.google.gwt.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, removeMethods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
getWidgetIndexMethods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
addMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
connector
-
-
Constructor Details
-
VContextMenu
public VContextMenu(boolean subMenu, com.vaadin.client.ui.VMenuBar parentMenu) -
VContextMenu
public VContextMenu()
-
-
Method Details
-
showRootMenu
public void showRootMenu(int x, int y) -
createOverlay
protected com.vaadin.client.ui.VOverlay createOverlay()- Overrides:
createOverlayin classcom.vaadin.client.ui.VMenuBar
-
onMenuClick
public void onMenuClick(int clickedItemId) - Overrides:
onMenuClickin classcom.vaadin.client.ui.VMenuBar
-
getRoot
protected com.vaadin.client.ui.VMenuBar getRoot()- Overrides:
getRootin classcom.vaadin.client.ui.VMenuBar
-