Interface NFEModelListener
-
- All Superinterfaces:
java.util.EventListener
- All Known Implementing Classes:
NFEBasicModel,NFEBlockUndoableEdit,NFEEditionManager,NFEFeatureLayerRenderer,NFEManipulableFeatureLayerRenderer,NFENetworkRenderer,NFEPathRenderer,NFERulesModel
public interface NFEModelListener extends java.util.EventListenerThe listener interface for receiving events from a first class model object such as NFEModel, NFENetwork or NFEFeatureLayer. A class implementing this interface should then be subscribed to the desired model object using the model object's addModelListener() method.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMETHOD_MODEL_OBJECT_ADDEDstatic java.lang.StringMETHOD_MODEL_OBJECT_REMOVEDstatic java.lang.StringMETHOD_MODEL_OBJECTS_ADDEDstatic java.lang.StringMETHOD_MODEL_OBJECTS_REMOVEDstatic java.lang.StringMETHOD_PROPERTY_CHANGED
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmodelObjectAdded(NFEModelObjectEvent event)Invoked when a model object has been addedvoidmodelObjectPropertyChanged(NFEModelObjectPropertyChangedEvent event)Invoked when a model object's property has been changedvoidmodelObjectRemoved(NFEModelObjectEvent event)Invoked when a model object has been removedvoidmodelObjectsAdded(NFEModelObjectsEvent event)Invoked when one or more model objects have been addedvoidmodelObjectsRemoved(NFEModelObjectsEvent event)Invoked when one or more model objects have been removed
-
-
-
Field Detail
-
METHOD_MODEL_OBJECT_ADDED
static final java.lang.String METHOD_MODEL_OBJECT_ADDED
- See Also:
- Constant Field Values
-
METHOD_MODEL_OBJECT_REMOVED
static final java.lang.String METHOD_MODEL_OBJECT_REMOVED
- See Also:
- Constant Field Values
-
METHOD_PROPERTY_CHANGED
static final java.lang.String METHOD_PROPERTY_CHANGED
- See Also:
- Constant Field Values
-
METHOD_MODEL_OBJECTS_REMOVED
static final java.lang.String METHOD_MODEL_OBJECTS_REMOVED
- See Also:
- Constant Field Values
-
METHOD_MODEL_OBJECTS_ADDED
static final java.lang.String METHOD_MODEL_OBJECTS_ADDED
- See Also:
- Constant Field Values
-
-
Method Detail
-
modelObjectAdded
void modelObjectAdded(NFEModelObjectEvent event)
Invoked when a model object has been added- Parameters:
event- contains a reference to the model object that has been added
-
modelObjectsAdded
void modelObjectsAdded(NFEModelObjectsEvent event)
Invoked when one or more model objects have been added- Parameters:
event- contains a collection of references to the model objects that have been added
-
modelObjectRemoved
void modelObjectRemoved(NFEModelObjectEvent event)
Invoked when a model object has been removed- Parameters:
event- contains a reference to the model object that has been removed
-
modelObjectsRemoved
void modelObjectsRemoved(NFEModelObjectsEvent event)
Invoked when one or more model objects have been removed- Parameters:
event- contains a collection of references to the model objects that have been removed
-
modelObjectPropertyChanged
void modelObjectPropertyChanged(NFEModelObjectPropertyChangedEvent event)
Invoked when a model object's property has been changed- Parameters:
event- contains a reference to the model objects which property has been changed and the name and previous value of the changed property
-
-