public class ContextMenuWidget
extends com.google.gwt.user.client.ui.Widget
Constructor and Description |
---|
ContextMenuWidget() |
Modifier and Type | Method and Description |
---|---|
void |
addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel> popupCloseHandler) |
void |
addRootMenuItem(ContextMenuState.ContextMenuItemState rootItem,
com.vaadin.client.extensions.AbstractExtensionConnector connector)
Adds new item as context menu root item.
|
void |
clearItems() |
protected boolean |
eventTargetContextMenu(com.google.gwt.user.client.Event nativeEvent) |
void |
hide() |
protected boolean |
isShowing() |
void |
showContextMenu(int rootMenuX,
int rootMenuY) |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, 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
protected boolean eventTargetContextMenu(com.google.gwt.user.client.Event nativeEvent)
protected boolean isShowing()
public void hide()
public void addRootMenuItem(ContextMenuState.ContextMenuItemState rootItem, com.vaadin.client.extensions.AbstractExtensionConnector connector)
rootItem
- connector
- public void clearItems()
public void showContextMenu(int rootMenuX, int rootMenuY)
public void addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel> popupCloseHandler)
Copyright © 2017 Magnolia International Ltd.. All rights reserved.