@Deprecated public class TableContextMenu extends ContextMenu
This compatibility version exists to fix #29 using context menu in table & tree table with item click listener.
ContextMenu.ContextMenuOpenListener
com.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 |
---|
TableContextMenu(com.vaadin.v7.ui.Table table)
Deprecated.
Constructs a context menu and sets it for the given table.
|
TableContextMenu(com.vaadin.v7.ui.TreeTable treeTable)
Deprecated.
Constructs a context menu and sets it for the given tree table.
|
Modifier and Type | Method and Description |
---|---|
void |
setAsContextMenuOf(com.vaadin.event.ContextClickEvent.ContextClickNotifier component)
Deprecated.
Sets this as a context menu of the component.
|
addContextMenuOpenListener, addItem, addItem, addItem, addItemBefore, addSeparator, addSeparatorBefore, beforeClientResponse, getContextClickListener, getItems, getSize, getState, getState, isHtmlContentAllowed, open, removeItem, removeItems, setHtmlContentAllowed
extend, getParent, getSupportedParentType, remove, setParent
addAttachListener, 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, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addAttachListener, addDetachListener, attach, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
public TableContextMenu(com.vaadin.v7.ui.Table table)
table
- the table to set the context menu topublic TableContextMenu(com.vaadin.v7.ui.TreeTable treeTable)
treeTable
- the tree table to set the context menu topublic void setAsContextMenuOf(com.vaadin.event.ContextClickEvent.ContextClickNotifier component)
setAsContextMenuOf
in class ContextMenu
component
- the component to set the context menu toCopyright © 2021 Magnolia International Ltd.. All rights reserved.