org.opengis.feature
Class FeatureEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.opengis.feature.FeatureEvent
-
- All Implemented Interfaces:
- java.io.Serializable
public class FeatureEvent extends java.util.EventObjectInstances of this class are passed to the methods ofFeatureListenerwhen 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 FeatureCollectiongetFeatureCollection()Synonym forgetSource(), but does the cast for you.java.util.List<java.lang.String>getFeatureIDs()Returns the IDs of the features that were affected.java.lang.ObjectgetSource()Returns the source as a feature collection.
-
-
-
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:
getSourcein classjava.util.EventObject
-
getFeatureCollection
public FeatureCollection getFeatureCollection()
Synonym forgetSource(), but does the cast for you.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG