public class TopologyContextMenu
extends com.vaadin.contextmenu.ContextMenu
com.vaadin.contextmenu.ContextMenu.ContextMenuOpenListenercom.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener| Constructor and Description |
|---|
TopologyContextMenu(com.vaadin.ui.UI parentComponent) |
TopologyContextMenu(com.vaadin.ui.UI parentComponent,
com.vaadin.ui.MenuBar menuBar)
This constructor is used to convert the
MenuBar to a ContextMenu |
| Modifier and Type | Method and Description |
|---|---|
void |
addMenuItemUpdateListener(MenuUpdateListener newListener) |
static List<VertexRef> |
asVertexList(Object target) |
protected void |
notifyMenuUpdateListener() |
void |
updateMenu(GraphContainer graphContainer,
com.vaadin.ui.UI mainWindow,
OperationManager operationManager,
List<VertexRef> targets) |
addContextMenuOpenListener, addItem, addItem, addItem, addItemBefore, addSeparator, addSeparatorBefore, beforeClientResponse, getContextClickListener, getItems, getSize, getState, getState, isHtmlContentAllowed, open, removeItem, removeItems, setAsContextMenuOf, setHtmlContentAllowedextend, getParent, getSupportedParentType, remove, setParentaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, attach, createState, detach, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isConnectorEnabled, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddAttachListener, addDetachListener, attach, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerpublic TopologyContextMenu(com.vaadin.ui.UI parentComponent,
com.vaadin.ui.MenuBar menuBar)
MenuBar to a ContextMenumenuBar - the MenuBar to convertpublic TopologyContextMenu(com.vaadin.ui.UI parentComponent)
public void updateMenu(GraphContainer graphContainer, com.vaadin.ui.UI mainWindow, OperationManager operationManager, List<VertexRef> targets)
protected void notifyMenuUpdateListener()
public void addMenuItemUpdateListener(MenuUpdateListener newListener)
Copyright © 2022. All rights reserved.