Package com.kheops.jmap.client.layers
Class LayerPropertyChangedEvent
java.lang.Object
java.util.EventObject
com.kheops.jmap.client.JMapEvent
com.kheops.jmap.client.layers.LayerEvent
com.kheops.jmap.client.layers.LayerPropertyChangedEvent
- All Implemented Interfaces:
Serializable
This event is fired when a property is changed on a layer.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byteA constant specifying that the property 'draw grid' changed.static final byteA constant specifying that the layer is dynamically refreshed.static final byteA constant specifying that the property 'editing' changed.static final byteA constant specifying that the property 'index' changed.static final byteA constant specifying that the property 'editable' changed.static final byteA constant specifying that the property 'listed' changed.static final byteA constant specifying that the property 'local' changed.static final byteA constant specifying that the layer name changed.static final byteA constant specifying that the layer selectability changed.static final byteA constant specifying that the layer visibility changed.static final byteA constant specifying that the zoom thresholds changed.Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionLayerPropertyChangedEvent(Object src, Layer layer, byte propertyChanged) Constructs the LayerPropertyChangedEvent instance -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(LayerEventDispatcher visitor) byteGets the changed propertyMethods inherited from class com.kheops.jmap.client.layers.LayerEvent
getLayer, getLayerManager, setLayerManager, toStringMethods inherited from class com.kheops.jmap.client.JMapEvent
isCancelled, setCancelledMethods inherited from class java.util.EventObject
getSource
-
Field Details
-
LAYER_PROPERTY_VISIBLE
public static final byte LAYER_PROPERTY_VISIBLEA constant specifying that the layer visibility changed.- See Also:
-
LAYER_PROPERTY_SELECTABLE
public static final byte LAYER_PROPERTY_SELECTABLEA constant specifying that the layer selectability changed.- See Also:
-
LAYER_PROPERTY_IS_LISTED
public static final byte LAYER_PROPERTY_IS_LISTEDA constant specifying that the property 'listed' changed.- See Also:
-
LAYER_PROPERTY_IS_LOCAL
public static final byte LAYER_PROPERTY_IS_LOCALA constant specifying that the property 'local' changed.- See Also:
-
LAYER_PROPERTY_DRAW_GRID
public static final byte LAYER_PROPERTY_DRAW_GRIDA constant specifying that the property 'draw grid' changed.- See Also:
-
LAYER_PROPERTY_INDEX
public static final byte LAYER_PROPERTY_INDEXA constant specifying that the property 'index' changed.- See Also:
-
LAYER_PROPERTY_ZOOM_THRESHOLDS
public static final byte LAYER_PROPERTY_ZOOM_THRESHOLDSA constant specifying that the zoom thresholds changed.- See Also:
-
LAYER_PROPERTY_IS_EDITABLE
public static final byte LAYER_PROPERTY_IS_EDITABLEA constant specifying that the property 'editable' changed.- See Also:
-
LAYER_PROPERTY_EDITING
public static final byte LAYER_PROPERTY_EDITINGA constant specifying that the property 'editing' changed.- See Also:
-
LAYER_PROPERTY_NAME
public static final byte LAYER_PROPERTY_NAMEA constant specifying that the layer name changed.- See Also:
-
LAYER_PROPERTY_DYNAMIC_REFRESH
public static final byte LAYER_PROPERTY_DYNAMIC_REFRESHA constant specifying that the layer is dynamically refreshed.- See Also:
-
-
Constructor Details
-
LayerPropertyChangedEvent
Constructs the LayerPropertyChangedEvent instance- Parameters:
src- the object generating the eventlayer- the layer associated with the eventpropertyChanged- the layer property
-
-
Method Details
-
getPropertyChanged
public byte getPropertyChanged()Gets the changed property- Returns:
- changed property
-
accept
- Specified by:
acceptin classLayerEvent
-