com.vividsolutions.jump.workbench.model
Class FeatureEvent

java.lang.Object
  extended by com.vividsolutions.jump.workbench.model.FeatureEvent

public class FeatureEvent
extends java.lang.Object

An addition, removal, or modification of a Feature.

See Also:
Feature, FeatureEventType

Constructor Summary
FeatureEvent(java.util.Collection features, FeatureEventType type, Layer layer, java.util.Collection oldFeatureClones)
           
 
Method Summary
 java.util.Collection getFeatures()
           
 Layer getLayer()
           
 java.util.Collection getOldFeatureClones()
           
 FeatureEventType getType()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureEvent

public FeatureEvent(java.util.Collection features,
                    FeatureEventType type,
                    Layer layer,
                    java.util.Collection oldFeatureClones)
Parameters:
oldFeatureClones - 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 java.util.Collection getFeatures()

getOldFeatureClones

public java.util.Collection getOldFeatureClones()