Class LayerPropertyChangedEvent

All Implemented Interfaces:
Serializable

public class LayerPropertyChangedEvent extends LayerEvent

This event is fired when a property is changed on a layer.

See Also:
  • Field Details

    • LAYER_PROPERTY_VISIBLE

      public static final byte LAYER_PROPERTY_VISIBLE
      A constant specifying that the layer visibility changed.
      See Also:
    • LAYER_PROPERTY_SELECTABLE

      public static final byte LAYER_PROPERTY_SELECTABLE
      A constant specifying that the layer selectability changed.
      See Also:
    • LAYER_PROPERTY_IS_LISTED

      public static final byte LAYER_PROPERTY_IS_LISTED
      A constant specifying that the property 'listed' changed.
      See Also:
    • LAYER_PROPERTY_IS_LOCAL

      public static final byte LAYER_PROPERTY_IS_LOCAL
      A constant specifying that the property 'local' changed.
      See Also:
    • LAYER_PROPERTY_DRAW_GRID

      public static final byte LAYER_PROPERTY_DRAW_GRID
      A constant specifying that the property 'draw grid' changed.
      See Also:
    • LAYER_PROPERTY_INDEX

      public static final byte LAYER_PROPERTY_INDEX
      A constant specifying that the property 'index' changed.
      See Also:
    • LAYER_PROPERTY_ZOOM_THRESHOLDS

      public static final byte LAYER_PROPERTY_ZOOM_THRESHOLDS
      A constant specifying that the zoom thresholds changed.
      See Also:
    • LAYER_PROPERTY_IS_EDITABLE

      public static final byte LAYER_PROPERTY_IS_EDITABLE
      A constant specifying that the property 'editable' changed.
      See Also:
    • LAYER_PROPERTY_EDITING

      public static final byte LAYER_PROPERTY_EDITING
      A constant specifying that the property 'editing' changed.
      See Also:
    • LAYER_PROPERTY_NAME

      public static final byte LAYER_PROPERTY_NAME
      A constant specifying that the layer name changed.
      See Also:
    • LAYER_PROPERTY_DYNAMIC_REFRESH

      public static final byte LAYER_PROPERTY_DYNAMIC_REFRESH
      A constant specifying that the layer is dynamically refreshed.
      See Also:
  • Constructor Details

    • LayerPropertyChangedEvent

      public LayerPropertyChangedEvent(Object src, Layer layer, byte propertyChanged)
      Constructs the LayerPropertyChangedEvent instance
      Parameters:
      src - the object generating the event
      layer - the layer associated with the event
      propertyChanged - the layer property
  • Method Details

    • getPropertyChanged

      public byte getPropertyChanged()
      Gets the changed property
      Returns:
      changed property
    • accept

      public void accept(LayerEventDispatcher visitor)
      Specified by:
      accept in class LayerEvent