Documentation of 'org.opengis.feature.FeatureEvent' Java class
FeatureEvent
org.opengis.feature

Class FeatureEvent

  • All Implemented Interfaces:
    java.io.Serializable


    public class FeatureEvent
    extends java.util.EventObject
    Instances of this class are passed to the methods of FeatureListener when a new feature is added to, removed from, or changed within a given feature collection.
    Since:
    GeoAPI 2.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      FeatureEvent(FeatureCollection source, java.util.List<java.lang.String> fids)
      Constructs a new event.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      FeatureCollection getFeatureCollection()
      Synonym for getSource(), but does the cast for you.
      java.util.List<java.lang.String> getFeatureIDs()
      Returns the IDs of the features that were affected.
      java.lang.Object getSource()
      Returns the source as a feature collection.
      • 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

      • FeatureEvent

        public FeatureEvent(FeatureCollection source,
                            java.util.List<java.lang.String> fids)
        Constructs a new event.
        Parameters:
        source - The source for this event.
        fids - IDs of the features that were affected.
    • Method Detail

      • getFeatureIDs

        public java.util.List<java.lang.String> getFeatureIDs()
        Returns the IDs of the features that were affected.
      • getSource

        public java.lang.Object getSource()
        Returns the source as a feature collection.
        Overrides:
        getSource in class java.util.EventObject

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.