org.vaadin.peter.contextmenu.client
Class ContextMenuConnector

java.lang.Object
  extended by com.vaadin.client.ui.AbstractConnector
      extended by com.vaadin.client.extensions.AbstractExtensionConnector
          extended by org.vaadin.peter.contextmenu.client.ContextMenuConnector
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, com.vaadin.client.communication.StateChangeEvent.StateChangeHandler, com.vaadin.client.ServerConnector, com.vaadin.shared.Connector, Serializable

public class ContextMenuConnector
extends com.vaadin.client.extensions.AbstractExtensionConnector

ContextMenuConnector is client side object that receives updates from server and passes them to context menu client side widget. Connector is also responsible for handling user interaction and communicating it back to server.

Author:
Peter Lehto / Vaadin Ltd
See Also:
Serialized Form

Constructor Summary
ContextMenuConnector()
           
 
Method Summary
protected  void extend(com.vaadin.client.ServerConnector extensionTarget)
           
 ContextMenuState getState()
           
protected  void init()
           
 void onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
           
 
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, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, hasEventListener, isEnabled, onUnregister, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, unregisterRpc, updateEnabledState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextMenuConnector

public ContextMenuConnector()
Method Detail

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

onStateChanged

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

extend

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


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.