Package com.kheops.jmap.client.layers
Class LayerEvent
java.lang.Object
java.util.EventObject
com.kheops.jmap.client.JMapEvent
com.kheops.jmap.client.layers.LayerEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LayerAddedEvent
,LayerAttributeMetadataChangedEvent
,LayerDataRequestedEvent
,LayerDisplayFilterChangedEvent
,LayerElementsAddedEvent
,LayerElementsChangedEvent
,LayerElementsRemovedEvent
,LayerPosChangedEvent
,LayerPropertyBeforeChangeEvent
,LayerPropertyChangedEvent
,LayerQueryFilterChangedEvent
,LayerReceivedDataEvent
,LayerRefreshRequestEvent
,LayerRemovedEvent
,LayerSelChangedEvent
,LayerStyleChangedEvent
This is the super class of all layer events.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
accept
(LayerEventDispatcher visitor) getLayer()
Gets the layer associated with the eventIf this event was fired through a LayerManager, that instance will be returned.protected void
setLayerManager
(LayerManager layerManager) toString()
Methods inherited from class com.kheops.jmap.client.JMapEvent
isCancelled, setCancelled
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
LayerEvent
Creates the LayerEvent instance- Parameters:
src
- the source object that generated the eventlayer
- the layer associated with the event
-
-
Method Details
-
getLayer
Gets the layer associated with the event- Returns:
- the corresponding layer
-
getLayerManager
If this event was fired through a LayerManager, that instance will be returned. Otherwise, null is returned.- Returns:
- the associated LayerManager instance.
-
setLayerManager
-
toString
-
accept
-