Documentation of 'org.opengis.feature.display.canvas.FeatureLayerEvent' Java class
FeatureLayerEvent
org.opengis.feature.display.canvas

Class FeatureLayerEvent

  • All Implemented Interfaces:
    java.io.Serializable


    public class FeatureLayerEvent
    extends java.util.EventObject
    Instance of this event are passed to FeatureLayerListeners when a property of the canvas has changed.
    Since:
    GeoAPI 2.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      FeatureLayerEvent(FeatureLayer layer, java.lang.Object newValue)
      Constructs an event for a feature layer's property initialized to a value.
      FeatureLayerEvent(FeatureLayer layer, java.lang.Object oldValue, java.lang.Object newValue)
      Constructs an event for a feature layer's property set to a new value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      FeatureLayer getLayer()
      Synonym for getSource().
      java.lang.Object getNewValue()
      Returns the new value, or null in none.
      java.lang.Object getOldValue()
      Returns the old value, or null in none.
      java.lang.Object getSource()
      Returns the modified layer.
      • Methods inherited from class java.util.EventObject

        toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FeatureLayerEvent

        public FeatureLayerEvent(FeatureLayer layer,
                                 java.lang.Object newValue)
        Constructs an event for a feature layer's property initialized to a value.
        Parameters:
        layer - The modified layer.
        newValue - The new value.
      • FeatureLayerEvent

        public FeatureLayerEvent(FeatureLayer layer,
                                 java.lang.Object oldValue,
                                 java.lang.Object newValue)
        Constructs an event for a feature layer's property set to a new value.
        Parameters:
        layer - The modified layer.
        oldValue - The old value, or null in none.
        newValue - The new value, or null in none.
    • Method Detail

      • getOldValue

        public java.lang.Object getOldValue()
        Returns the old value, or null in none.
      • getNewValue

        public java.lang.Object getNewValue()
        Returns the new value, or null in none.
      • getSource

        public java.lang.Object getSource()
        Returns the modified layer.
        Overrides:
        getSource in class java.util.EventObject

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.