| java.lang.Object java.util.EventObject org.geotools.feature.CollectionEvent
CollectionEvent | public class CollectionEvent extends EventObject (Code) | | A simple event object to represent all events triggered by FeatureCollection
instances (typically change events).
|
FEATURES_ADDED | final public static int FEATURES_ADDED(Code) | | event type constant denoting the adding of a feature
|
FEATURES_CHANGED | final public static int FEATURES_CHANGED(Code) | | event type constant denoting that features in the collection has been
modified
|
FEATURES_REMOVED | final public static int FEATURES_REMOVED(Code) | | event type constant denoting the removal of a feature
|
CollectionEvent | public CollectionEvent(FeatureCollection source, Feature[] involvedFeatures, int type)(Code) | | Constructs a new CollectionEvent.
Parameters: source - the collection which triggered the event Parameters: involvedFeatures - DOCUMENT ME! Parameters: type - DOCUMENT ME! |
getCollection | public FeatureCollection getCollection()(Code) | | provides access to the featurecollection which fired the event
The FeatureCollection which was the event's source. |
getEventType | public int getEventType()(Code) | | Provides information on the type of change that has occured. Possible
types are: add, remove, change
an int which must be one of FEATURES_ADDED, FEATURES_REMOVED,FEATURES_CHANGED |
getFeatures | public Feature[] getFeatures()(Code) | | Getter for property features.
Value of property features. |
|
|