Class LeafletMarkerConnector
java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.ui.AbstractComponentConnector
io.jmix.mapsui.widget.leaflet.client.AbstractLeafletLayerConnector<MarkerOptions>
io.jmix.mapsui.widget.leaflet.client.LeafletMarkerConnector
- 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
- 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 MarkerOptions
getLayer()
getState()
protected void
onClick
(MouseEvent event) protected void
update()
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, 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, getRpcImplementations, getTag, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag
-
Constructor Details
-
LeafletMarkerConnector
public LeafletMarkerConnector()
-
-
Method Details
-
getState
- Specified by:
getState
in interfacecom.vaadin.client.ComponentConnector
- Specified by:
getState
in interfacecom.vaadin.client.ServerConnector
- Overrides:
getState
in classAbstractLeafletLayerConnector<MarkerOptions>
-
onClick
-
update
protected void update()- Specified by:
update
in classAbstractLeafletLayerConnector<MarkerOptions>
-
createOptions
- Specified by:
createOptions
in classAbstractLeafletLayerConnector<MarkerOptions>
-
getLayer
- Specified by:
getLayer
in classAbstractLeafletLayerConnector<MarkerOptions>
-