Class AbstractControlConnector<T extends Control>

java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.extensions.AbstractExtensionConnector
io.jmix.mapsui.widget.leaflet.client.AbstractControlConnector<T>
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, com.vaadin.client.communication.StateChangeEvent.StateChangeHandler, com.vaadin.client.ServerConnector, com.vaadin.shared.Connector, Serializable
Direct Known Subclasses:
AbstractDefaultControl, LeafletLayersConnector, LeafletScaleConnector

public abstract class AbstractControlConnector<T extends Control> extends com.vaadin.client.extensions.AbstractExtensionConnector
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract T
     
    protected void
    doStateChange(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
    Deferred state change where layers have been created and added
    protected void
    extend(com.vaadin.client.ServerConnector target)
     
    protected T
     
    protected Map
     
     
     
    void
    onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
     
    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, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, getTag, hasEventListener, init, isEnabled, 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
  • Constructor Details

    • AbstractControlConnector

      public AbstractControlConnector()
  • Method Details

    • extend

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

      protected T getControl()
    • createControl

      protected abstract T createControl()
    • onUnregister

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

      protected Map getMap()
    • 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
    • getState

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

      protected void doStateChange(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
      Deferred state change where layers have been created and added
      Parameters:
      stateChangeEvent - the event
    • getParent

      public LeafletMapConnector getParent()
      Specified by:
      getParent in interface com.vaadin.shared.Connector
      Specified by:
      getParent in interface com.vaadin.client.ServerConnector
      Overrides:
      getParent in class com.vaadin.client.ui.AbstractConnector