Class TableContextMenu

java.lang.Object
com.vaadin.server.AbstractClientConnector
com.vaadin.server.AbstractExtension
io.jmix.ui.widget.addon.contextmenu.ContextMenu
io.jmix.ui.widget.addon.contextmenu.TableContextMenu
All Implemented Interfaces:
com.vaadin.event.MethodEventSource, com.vaadin.server.ClientConnector, com.vaadin.server.Extension, com.vaadin.shared.Connector, Serializable

@Deprecated public class TableContextMenu extends ContextMenu
Deprecated.
To use only for compatibility v7.Table
Compatibility version of ContextMenu to use with v7.Table and v7.TreeTable in the Framework 8.0 compatibility package.

This compatibility version exists to fix #29 using context menu in table & tree table with item click listener.

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.jmix.ui.widget.addon.contextmenu.ContextMenu

    ContextMenu.ContextMenuOpenListener

    Nested classes/interfaces inherited from class com.vaadin.server.AbstractClientConnector

    com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler

    Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector

    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 Summary

    Constructors
    Constructor
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setAsContextMenuOf(com.vaadin.event.ContextClickEvent.ContextClickNotifier component)
    Deprecated.
    Sets this as a context menu of the component.

    Methods inherited from class com.vaadin.server.AbstractExtension

    extend, getParent, getSupportedParentType, remove, setParent

    Methods inherited from class com.vaadin.server.AbstractClientConnector

    addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, attach, createState, detach, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, 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, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.server.ClientConnector

    addAttachListener, addDetachListener, attach, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler

    Methods inherited from interface com.vaadin.shared.Connector

    getConnectorId
  • Constructor Details

    • TableContextMenu

      public TableContextMenu(com.vaadin.v7.ui.Table table)
      Deprecated.
      Constructs a context menu and sets it for the given table.
      Parameters:
      table - the table to set the context menu to
    • TableContextMenu

      public TableContextMenu(com.vaadin.v7.ui.TreeTable treeTable)
      Deprecated.
      Constructs a context menu and sets it for the given tree table.
      Parameters:
      treeTable - the tree table to set the context menu to
  • Method Details

    • setAsContextMenuOf

      public void setAsContextMenuOf(com.vaadin.event.ContextClickEvent.ContextClickNotifier component)
      Deprecated.
      Sets this as a context menu of the component. You can set one menu to as many components as you wish.
      Overrides:
      setAsContextMenuOf in class ContextMenu
      Parameters:
      component - the component to set the context menu to