Class FeatureEvent
- java.lang.Object
-
- com.vividsolutions.jump.workbench.model.FeatureEvent
-
public class FeatureEvent extends Object
An addition, removal, or modification of a Feature.- See Also:
Feature,FeatureEventType
-
-
Constructor Summary
Constructors Constructor Description FeatureEvent(Collection<Feature> features, FeatureEventType type, Layer layer, Collection<Feature> oldFeatureClones)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Feature>getFeatures()LayergetLayer()CollectiongetOldFeatureAttClones()Collection<Feature>getOldFeatureClones()FeatureEventTypegetType()
-
-
-
Constructor Detail
-
FeatureEvent
public FeatureEvent(Collection<Feature> features, FeatureEventType type, Layer layer, Collection<Feature> oldFeatureClones)
- Parameters:
features- a collection of featurestype- the type of event (one of ADDED, DELETED, GEOMETRY_MODIFIED, ATTRIBUTES_MODIFIED)layer- the target layeroldFeatureClones- for GEOMETRY_MODIFIED events, clones of the Features before they were modified; null for other events
-
-
Method Detail
-
getLayer
public Layer getLayer()
-
getType
public FeatureEventType getType()
-
getFeatures
public Collection<Feature> getFeatures()
-
getOldFeatureClones
public Collection<Feature> getOldFeatureClones()
-
getOldFeatureAttClones
public Collection getOldFeatureAttClones()
-
-