Class LeafletPolylineConnector
java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.ui.AbstractComponentConnector
io.jmix.mapsui.widget.leaflet.client.AbstractLeafletLayerConnector<O>
io.jmix.mapsui.widget.leaflet.client.AbstractLeafletVectorConnector<LeafletPolylineState,PolylineOptions>
io.jmix.mapsui.widget.leaflet.client.LeafletPolylineConnector
- All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler
,com.vaadin.client.communication.StateChangeEvent.StateChangeHandler
,com.vaadin.client.ComponentConnector
,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:
LeafletMultiPolylineConnector
,LeafletPolygonConnector
public class LeafletPolylineConnector
extends AbstractLeafletVectorConnector<LeafletPolylineState,PolylineOptions>
- 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
-
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractPath
createVector
(PolylineOptions options) protected com.google.gwt.core.client.JsArray<com.google.gwt.core.client.JsArray>
getLayer()
protected void
update()
Methods inherited from class io.jmix.mapsui.widget.leaflet.client.AbstractLeafletVectorConnector
createOptions, getState, getVector, setParent
Methods inherited from class io.jmix.mapsui.widget.leaflet.client.AbstractLeafletLayerConnector
addToParent, deferUpdate, getLeafletMapConnector, getMap, getMapPixelPosition, getParent, getWidget, markDirty, onStateChanged, removeLayerFromParent, updateComponentSize, updateIfDirty, updateWidgetStyleNames
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, 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, getRpcImplementations, getTag, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setTag
-
Field Details
-
marker
-
-
Constructor Details
-
LeafletPolylineConnector
public LeafletPolylineConnector()
-
-
Method Details
-
update
protected void update()- Specified by:
update
in classAbstractLeafletLayerConnector<PolylineOptions>
-
getLayer
- Specified by:
getLayer
in classAbstractLeafletLayerConnector<PolylineOptions>
-
createVector
-
getCoordinatesArray
protected com.google.gwt.core.client.JsArray<com.google.gwt.core.client.JsArray> getCoordinatesArray()
-