Class LeafletLayerGroupConnector

java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.ui.AbstractComponentConnector
io.jmix.mapsui.widget.leaflet.client.AbstractLeafletLayerConnector<Object>
io.jmix.mapsui.widget.leaflet.client.LeafletLayerGroupConnector
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.HasContextHelpConnector, com.vaadin.client.ui.HasErrorIndicator, com.vaadin.shared.Connector, Serializable
Direct Known Subclasses:
LeafletFeatureGroupConnector

public class LeafletLayerGroupConnector extends AbstractLeafletLayerConnector<Object> implements com.vaadin.client.HasComponentsConnector, com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler
See Also:
  • Field Summary

    Fields inherited from class io.jmix.mapsui.widget.leaflet.client.AbstractLeafletLayerConnector

    contextMenuRpc, mouseOutRpc, mouseOverRpc, rpc

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

    SIGNIFICANT_MOVE_THRESHOLD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.gwt.event.shared.HandlerRegistration
    addConnectorHierarchyChangeHandler(com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler handler)
     
    protected LayerGroup
     
    protected Object
     
    List<com.vaadin.client.ComponentConnector>
     
     
     
    void
    onConnectorHierarchyChange(com.vaadin.client.ConnectorHierarchyChangeEvent connectorHierarchyChangeEvent)
     
    void
    onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
     
    void
    setChildComponents(List<com.vaadin.client.ComponentConnector> childComponents)
     
    void
     
    void
    updateCaption(com.vaadin.client.ComponentConnector connector)
     

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

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

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

    • LeafletLayerGroupConnector

      public LeafletLayerGroupConnector()
  • Method Details

    • updateCaption

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

      public LeafletLayerGroupState getState()
      Specified by:
      getState in interface com.vaadin.client.ComponentConnector
      Specified by:
      getState in interface com.vaadin.client.ServerConnector
      Overrides:
      getState in class AbstractLeafletLayerConnector<Object>
    • 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 AbstractLeafletLayerConnector<Object>
    • onConnectorHierarchyChange

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

      public void update()
      Specified by:
      update in class AbstractLeafletLayerConnector<Object>
    • createLayerGroup

      protected LayerGroup createLayerGroup()
    • getChildComponents

      public List<com.vaadin.client.ComponentConnector> getChildComponents()
      Specified by:
      getChildComponents in interface com.vaadin.client.HasComponentsConnector
    • setChildComponents

      public void setChildComponents(List<com.vaadin.client.ComponentConnector> childComponents)
      Specified by:
      setChildComponents in interface com.vaadin.client.HasComponentsConnector
    • addConnectorHierarchyChangeHandler

      public com.google.gwt.event.shared.HandlerRegistration addConnectorHierarchyChangeHandler(com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler handler)
      Specified by:
      addConnectorHierarchyChangeHandler in interface com.vaadin.client.HasComponentsConnector
    • createOptions

      protected Object createOptions()
      Specified by:
      createOptions in class AbstractLeafletLayerConnector<Object>
    • getLayer

      public Layer getLayer()
      Specified by:
      getLayer in class AbstractLeafletLayerConnector<Object>