Class SpreadsheetConnector

java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.ui.AbstractComponentConnector
com.vaadin.client.ui.AbstractHasComponentsConnector
com.vaadin.addon.spreadsheet.client.SpreadsheetConnector
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, com.vaadin.client.communication.StateChangeEvent.StateChangeHandler, com.vaadin.client.ComponentConnector, com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler, com.vaadin.client.HasComponentsConnector, com.vaadin.client.HasWidget, com.vaadin.client.ServerConnector, com.vaadin.client.ui.HasErrorIndicator, com.vaadin.client.ui.PostLayoutListener, com.vaadin.shared.Connector, Serializable

public class SpreadsheetConnector extends com.vaadin.client.ui.AbstractHasComponentsConnector implements com.vaadin.client.ui.PostLayoutListener
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
     
  • Field Summary

    Fields inherited from class com.vaadin.client.ui.AbstractComponentConnector

    SIGNIFICANT_MOVE_THRESHOLD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.vaadin.shared.communication.SharedState
     
    protected com.google.gwt.user.client.ui.Widget
     
    <T extends com.vaadin.shared.communication.ServerRpc>
    T
    getProtectedRpcProxy(Class<T> rpcInterface)
     
     
    protected <T extends com.vaadin.shared.communication.ServerRpc>
    T
    getRpcProxy(Class<T> rpcInterface)
     
     
     
    protected void
     
    void
    onConnectorHierarchyChange(com.vaadin.client.ConnectorHierarchyChangeEvent event)
     
    void
    onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
     
    void
     
    void
     
    void
    setHost(com.google.gwt.dom.client.Element host, com.google.gwt.dom.client.Node renderRoot)
     
    void
    updateCaption(com.vaadin.client.ComponentConnector connector)
     

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

    addConnectorHierarchyChangeHandler, getChildComponents, setChildComponents

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

    delegateCaptionHandling, flush, getIcon, getIconUri, getLayoutManager, getTooltipInfo, hasTooltip, isErrorIndicatorVisible, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onDragSourceAttached, onDragSourceDetached, onDropTargetAttached, onDropTargetDetached, registerTouchHandlers, sendContextClickEvent, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, shouldHandleLongTap, unregisterTouchHandlers, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetSize, updateWidgetStyleNames

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

    addStateChangeHandler, addStateChangeHandler, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getRpcImplementations, getStateType, getTag, hasEventListener, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, unregisterRpc

    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, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, updateEnabledState
  • Constructor Details

    • SpreadsheetConnector

      public SpreadsheetConnector()
  • Method Details

    • getProtectedRpcProxy

      public <T extends com.vaadin.shared.communication.ServerRpc> T getProtectedRpcProxy(Class<T> rpcInterface)
    • getRpcProxy

      protected <T extends com.vaadin.shared.communication.ServerRpc> T getRpcProxy(Class<T> rpcInterface)
      Overrides:
      getRpcProxy in class com.vaadin.client.ui.AbstractConnector
    • init

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

      public void onUnregister()
      Specified by:
      onUnregister in interface com.vaadin.client.ServerConnector
      Overrides:
      onUnregister in class com.vaadin.client.ui.AbstractComponentConnector
    • createWidget

      protected com.google.gwt.user.client.ui.Widget createWidget()
      Overrides:
      createWidget in class com.vaadin.client.ui.AbstractComponentConnector
    • getWidget

      public SpreadsheetWidget getWidget()
      Specified by:
      getWidget in interface com.vaadin.client.HasWidget
      Overrides:
      getWidget in class com.vaadin.client.ui.AbstractComponentConnector
    • getState

      public SpreadsheetState getState()
      Specified by:
      getState in interface com.vaadin.client.ComponentConnector
      Specified by:
      getState in interface com.vaadin.client.ServerConnector
      Overrides:
      getState in class com.vaadin.client.ui.AbstractComponentConnector
    • createState

      protected com.vaadin.shared.communication.SharedState createState()
      Overrides:
      createState 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.AbstractComponentConnector
    • getResourceUrl

      public String getResourceUrl(String key)
      Overrides:
      getResourceUrl in class com.vaadin.client.ui.AbstractConnector
    • updateCaption

      public void updateCaption(com.vaadin.client.ComponentConnector connector)
      Specified by:
      updateCaption in interface com.vaadin.client.HasComponentsConnector
    • onConnectorHierarchyChange

      public void onConnectorHierarchyChange(com.vaadin.client.ConnectorHierarchyChangeEvent event)
      Specified by:
      onConnectorHierarchyChange in interface com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler
    • postLayout

      public void postLayout()
      Specified by:
      postLayout in interface com.vaadin.client.ui.PostLayoutListener
    • setHost

      public void setHost(com.google.gwt.dom.client.Element host, com.google.gwt.dom.client.Node renderRoot)