- java.lang.Object
-
- java.util.EventObject
-
- org.arakhne.afc.gis.maplayer.ConsumableEvent
-
- org.arakhne.afc.gis.maplayer.MapLayerContentEvent
-
- All Implemented Interfaces:
Serializable
public class MapLayerContentEvent extends ConsumableEvent
This interface representes an event on the layer content changes.- Since:
- 14.0
- Version:
- 17.0 2020-01-04 14:41:53
- Author:
- Stéphane GALLAND
- See Also:
- Serialized Form
- Maven Group Id:
- org.arakhne.afc.gis
- Maven Artifact Id:
- giscore
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description MapLayerContentEvent(MapLayer layer)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapLayer
getLayer()
Replies the layer that changed.boolean
isTemporaryChange()
Replies if the change in the layer was marked as temporary.-
Methods inherited from class org.arakhne.afc.gis.maplayer.ConsumableEvent
consume, isConsumed, isDisappearingWhenConsumed
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
MapLayerContentEvent
public MapLayerContentEvent(MapLayer layer)
Constructor.- Parameters:
layer
- the layer.
-
-
Method Detail
-
getLayer
@Pure public MapLayer getLayer()
Replies the layer that changed.- Returns:
- the layer that changed.
-
isTemporaryChange
@Pure public boolean isTemporaryChange()
Replies if the change in the layer was marked as temporary. The usage of this information depends on the listener's behaviour.- Returns:
true
if the change is temporary, otherwisefalse
-
-