Class Layer
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
io.jmix.mapsui.widget.leaflet.client.Layer
- Direct Known Subclasses:
AbstractJsonOptions
,AbstractVector
,DivOverlay
,GridLayer
,HeatMapLayer
,ImageOverlay
,LayerGroup
public class Layer
extends com.google.gwt.core.client.JavaScriptObject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
addClickListener
(ClickListener listener) final void
addContextMenuListener
(ContextMenuListener listener) final com.google.gwt.core.client.JavaScriptObject
addLayerRemovedListener
(LayerRemovedListener listener) final void
addMouseOutListener
(MouseOutListener listener) final void
addMouseOverListener
(MouseOverListener listener) final void
final void
final void
removeListener
(com.google.gwt.core.client.JavaScriptObject listenerRegistration) Removes listener from layer.final void
final void
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
-
Constructor Details
-
Layer
protected Layer()
-
-
Method Details
-
addLayerRemovedListener
public final com.google.gwt.core.client.JavaScriptObject addLayerRemovedListener(LayerRemovedListener listener) - Parameters:
listener
- the listener- Returns:
- handler registration
-
removeListener
public final void removeListener(com.google.gwt.core.client.JavaScriptObject listenerRegistration) Removes listener from layer. The listener is detected on listener registration object returned by listener addition method.- Parameters:
listenerRegistration
- the object returned by listener addition method
-
addClickListener
-
removeClickListener
public final void removeClickListener() -
removeMouseOverListener
public final void removeMouseOverListener() -
addMouseOverListener
-
removeMouseOutListener
public final void removeMouseOutListener() -
addMouseOutListener
-
removeContextMenuListener
public final void removeContextMenuListener() -
addContextMenuListener
-