|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectEventObject
CollectionEvent
public class CollectionEvent
A simple event object to represent all events triggered by FeatureCollection instances (typically change events).
trunk/modules/library (gt-library.jar) (Maven report) (SVN head)| Field Summary | |
|---|---|
static int |
FEATURES_ADDED
event type constant denoting the adding of a feature |
static int |
FEATURES_CHANGED
event type constant denoting that features in the collection has been modified |
static int |
FEATURES_REMOVED
event type constant denoting the removal of a feature |
| Fields inherited from class EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
CollectionEvent(FeatureCollection<? extends FeatureType,? extends Feature> collection,
FeatureEvent event)
|
|
CollectionEvent(FeatureCollection<? extends FeatureType,? extends Feature> source,
SimpleFeature[] involvedFeatures,
int type)
Constructs a new CollectionEvent. |
|
| Method Summary | |
|---|---|
FeatureCollection<? extends FeatureType,? extends Feature> |
getCollection()
provides access to the FeatureCollection |
int |
getEventType()
Provides information on the type of change that has occured. |
SimpleFeature[] |
getFeatures()
Getter for property features. |
| Methods inherited from class EventObject |
|---|
getSource, toString |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int FEATURES_ADDED
public static final int FEATURES_REMOVED
public static final int FEATURES_CHANGED
| Constructor Detail |
|---|
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!| Method Detail |
|---|
public FeatureCollection<? extends FeatureType,? extends Feature> getCollection()
public int getEventType()
public SimpleFeature[] getFeatures()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||