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, updateWidgetSizeaddStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, getTag, hasEventListener, init, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, unregisterRpcclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getRpcImplementations, getTag, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTagprotected 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.HasWidgetgetWidget in class com.vaadin.client.ui.AbstractComponentConnectorprotected void updateWidgetStyleNames()
updateWidgetStyleNames in class com.vaadin.client.ui.AbstractComponentConnectorprotected void updateComponentSize()
updateComponentSize in class com.vaadin.client.ui.AbstractComponentConnectorpublic AbstractLeafletComponentState getState()
getState in interface com.vaadin.client.ComponentConnectorgetState in interface com.vaadin.client.ServerConnectorgetState in class com.vaadin.client.ui.AbstractComponentConnectorpublic 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.ServerConnectorgetParent in interface com.vaadin.shared.ConnectorgetParent in class com.vaadin.client.ui.AbstractConnectorpublic void onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
onStateChanged in interface com.vaadin.client.communication.StateChangeEvent.StateChangeHandleronStateChanged in class com.vaadin.client.ui.AbstractComponentConnectorprotected void markDirty()
protected void deferUpdate()
protected void updateIfDirty()
protected abstract T createOptions()
protected abstract void update()
public abstract Layer getLayer()