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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
extend
(com.vaadin.client.ServerConnector target) getState()
com.google.gwt.user.client.ui.Widget
protected void
init()
void
onMenuClick
(int clickedItemId) void
onStateChanged
(com.vaadin.client.communication.StateChangeEvent event) protected void
updateFromState
(ContextMenuState state) 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 classcom.vaadin.client.extensions.AbstractExtensionConnector
-
onStateChanged
public void onStateChanged(com.vaadin.client.communication.StateChangeEvent event) - Specified by:
onStateChanged
in interfacecom.vaadin.client.communication.StateChangeEvent.StateChangeHandler
- Overrides:
onStateChanged
in classcom.vaadin.client.ui.AbstractConnector
-
init
protected void init()- Overrides:
init
in classcom.vaadin.client.ui.AbstractConnector
-
getState
- Specified by:
getState
in interfacecom.vaadin.client.ServerConnector
- Overrides:
getState
in classcom.vaadin.client.ui.AbstractConnector
-
onMenuClick
public void onMenuClick(int clickedItemId) -
getWidget
public com.google.gwt.user.client.ui.Widget getWidget()- Specified by:
getWidget
in interfacecom.vaadin.client.HasWidget
-