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.CustomMenuItem
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
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel
com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel
com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
-
Field Summary
Fields 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, visibleChildMenu
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.client.ui.VOverlay
protected com.vaadin.client.ui.VMenuBar
getRoot()
boolean
handleNavigation
(int keycode, boolean ctrl, boolean shift) void
onClose
(com.google.gwt.event.logical.shared.CloseEvent<com.google.gwt.user.client.ui.PopupPanel> event) void
onMenuClick
(int clickedItemId) void
showRootMenu
(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, updateStyleNames
Methods inherited from class com.vaadin.client.ui.FocusableFlowPanel
addBlurHandler, addFocusHandler, addKeyDownHandler, addKeyPressHandler, focus, setFocus
Methods inherited from class com.google.gwt.user.client.ui.FlowPanel
add, clear, insert, insert
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, 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, 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, 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 com.google.gwt.event.shared.HasHandlers
fireEvent
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, remove
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
getWidgetIndex
Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
add
Methods 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:
createOverlay
in classcom.vaadin.client.ui.VMenuBar
-
onMenuClick
public void onMenuClick(int clickedItemId) - Overrides:
onMenuClick
in classcom.vaadin.client.ui.VMenuBar
-
getRoot
protected com.vaadin.client.ui.VMenuBar getRoot()- Overrides:
getRoot
in classcom.vaadin.client.ui.VMenuBar
-