FeatureEventpublic class CollectionEvent extends EventObject
| Modifier and Type | Field and Description |
|---|---|
static int |
FEATURES_ADDED
Deprecated.
event type constant denoting the adding of a feature
|
static int |
FEATURES_CHANGED
Deprecated.
event type constant denoting that features in the collection has been modified
|
static int |
FEATURES_REMOVED
Deprecated.
event type constant denoting the removal of a feature
|
source| Constructor and Description |
|---|
CollectionEvent(FeatureCollection<? extends FeatureType,? extends Feature> collection,
FeatureEvent event)
Deprecated.
|
CollectionEvent(FeatureCollection<? extends FeatureType,? extends Feature> source,
SimpleFeature[] involvedFeatures,
int type)
Deprecated.
Constructs a new CollectionEvent.
|
| Modifier and Type | Method and Description |
|---|---|
FeatureCollection<? extends FeatureType,? extends Feature> |
getCollection()
Deprecated.
provides access to the SimpleFeatureCollection which fired the event
|
int |
getEventType()
Deprecated.
Provides information on the type of change that has occured.
|
SimpleFeature[] |
getFeatures()
Deprecated.
Getter for property features.
|
getSource, toStringpublic static final int FEATURES_ADDED
public static final int FEATURES_REMOVED
public static final int FEATURES_CHANGED
public CollectionEvent(FeatureCollection<? extends FeatureType,? extends Feature> collection, FeatureEvent event)
public CollectionEvent(FeatureCollection<? extends FeatureType,? extends Feature> source, SimpleFeature[] involvedFeatures, int type)
source - the collection which triggered the eventinvolvedFeatures - DOCUMENT ME!type - DOCUMENT ME!public FeatureCollection<? extends FeatureType,? extends Feature> getCollection()
public int getEventType()
public SimpleFeature[] getFeatures()
Copyright © 1996–2019 Geotools. All rights reserved.