public abstract class AbstractLeafletLayerConnector<T>
extends com.vaadin.client.ui.AbstractComponentConnector
Modifier and Type | Field and Description |
---|---|
protected ContextMenuServerRpc |
contextMenuRpc |
protected MouseOutServerRpc |
mouseOutRpc |
protected MouseOverServerRpc |
mouseOverRpc |
protected ClickServerRpc |
rpc |
Constructor and Description |
---|
AbstractLeafletLayerConnector() |
Modifier and Type | Method and Description |
---|---|
void |
addToParent(Layer layer) |
protected abstract T |
createOptions() |
protected void |
deferUpdate() |
abstract Layer |
getLayer() |
LeafletMapConnector |
getLeafletMapConnector() |
Map |
getMap() |
Point |
getMapPixelPosition() |
com.vaadin.client.HasComponentsConnector |
getParent() |
AbstractLeafletComponentState |
getState() |
com.google.gwt.user.client.ui.Label |
getWidget() |
protected void |
markDirty() |
void |
onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent) |
void |
removeLayerFromParent() |
protected abstract void |
update() |
protected void |
updateComponentSize() |
protected void |
updateIfDirty() |
protected void |
updateWidgetStyleNames() |
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
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getRpcImplementations, getTag, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag
protected ClickServerRpc rpc
protected MouseOverServerRpc mouseOverRpc
protected MouseOutServerRpc mouseOutRpc
protected ContextMenuServerRpc contextMenuRpc
public com.google.gwt.user.client.ui.Label getWidget()
getWidget
in interface com.vaadin.client.HasWidget
getWidget
in class com.vaadin.client.ui.AbstractComponentConnector
protected void updateWidgetStyleNames()
updateWidgetStyleNames
in class com.vaadin.client.ui.AbstractComponentConnector
protected void updateComponentSize()
updateComponentSize
in class com.vaadin.client.ui.AbstractComponentConnector
public AbstractLeafletComponentState getState()
getState
in interface com.vaadin.client.ComponentConnector
getState
in interface com.vaadin.client.ServerConnector
getState
in class com.vaadin.client.ui.AbstractComponentConnector
public void addToParent(Layer layer)
public void removeLayerFromParent()
public Map getMap()
public LeafletMapConnector getLeafletMapConnector()
public Point getMapPixelPosition()
public com.vaadin.client.HasComponentsConnector getParent()
getParent
in interface com.vaadin.client.ServerConnector
getParent
in interface com.vaadin.shared.Connector
getParent
in class com.vaadin.client.ui.AbstractConnector
public void onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
onStateChanged
in interface com.vaadin.client.communication.StateChangeEvent.StateChangeHandler
onStateChanged
in class com.vaadin.client.ui.AbstractComponentConnector
protected void markDirty()
protected void deferUpdate()
protected void updateIfDirty()
protected abstract T createOptions()
protected abstract void update()
public abstract Layer getLayer()