Class ContextMenuConnector

java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.extensions.AbstractExtensionConnector
io.jmix.ui.widget.client.addon.contextmenu.ContextMenuConnector
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, com.vaadin.client.communication.StateChangeEvent.StateChangeHandler, com.vaadin.client.HasWidget, com.vaadin.client.ServerConnector, com.vaadin.shared.Connector, Serializable

public class ContextMenuConnector extends com.vaadin.client.extensions.AbstractExtensionConnector implements com.vaadin.client.HasWidget
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    extend(com.vaadin.client.ServerConnector target)
     
     
    com.google.gwt.user.client.ui.Widget
     
    protected void
     
    void
    onMenuClick(int clickedItemId)
     
    void
    onStateChanged(com.vaadin.client.communication.StateChangeEvent event)
     
    protected void
     

    Methods inherited from class com.vaadin.client.extensions.AbstractExtensionConnector

    setParent

    Methods inherited from class com.vaadin.client.ui.AbstractConnector

    addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, getTag, hasEventListener, isEnabled, onUnregister, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setTag, unregisterRpc, updateEnabledState

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.vaadin.shared.Connector

    getConnectorId

    Methods inherited from interface com.vaadin.client.ServerConnector

    addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getTag, hasEventListener, isEnabled, onUnregister, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, updateEnabledState
  • Constructor Details

    • ContextMenuConnector

      public ContextMenuConnector()
  • Method Details

    • extend

      protected void extend(com.vaadin.client.ServerConnector target)
      Specified by:
      extend in class com.vaadin.client.extensions.AbstractExtensionConnector
    • onStateChanged

      public void onStateChanged(com.vaadin.client.communication.StateChangeEvent event)
      Specified by:
      onStateChanged in interface com.vaadin.client.communication.StateChangeEvent.StateChangeHandler
      Overrides:
      onStateChanged in class com.vaadin.client.ui.AbstractConnector
    • updateFromState

      protected void updateFromState(ContextMenuState state)
    • init

      protected void init()
      Overrides:
      init in class com.vaadin.client.ui.AbstractConnector
    • getState

      public ContextMenuState getState()
      Specified by:
      getState in interface com.vaadin.client.ServerConnector
      Overrides:
      getState in class com.vaadin.client.ui.AbstractConnector
    • onMenuClick

      public void onMenuClick(int clickedItemId)
    • getWidget

      public com.google.gwt.user.client.ui.Widget getWidget()
      Specified by:
      getWidget in interface com.vaadin.client.HasWidget