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 SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract voidaccept(LayerEventDispatcher visitor) getLayer()Gets the layer associated with the eventIf this event was fired through a LayerManager, that instance will be returned.protected voidsetLayerManager(LayerManager layerManager) toString()Methods inherited from class com.kheops.jmap.client.JMapEventisCancelled, setCancelledMethods inherited from class java.util.EventObjectgetSource
- 
Constructor Details- 
LayerEventCreates the LayerEvent instance- Parameters:
- src- the source object that generated the event
- layer- the layer associated with the event
 
 
- 
- 
Method Details- 
getLayerGets the layer associated with the event- Returns:
- the corresponding layer
 
- 
getLayerManagerIf this event was fired through a LayerManager, that instance will be returned. Otherwise, null is returned.- Returns:
- the associated LayerManager instance.
 
- 
setLayerManager
- 
toString
- 
accept
 
-