Class FeaturePropertyChangedUndoableEdit
- java.lang.Object
-
- javax.swing.undo.AbstractUndoableEdit
-
- oracle.spatial.network.nfe.model.edit.undo.NFEAtomicUndoableEdit
-
- oracle.spatial.network.nfe.model.edit.undo.FeaturePropertyChangedUndoableEdit
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.undo.UndoableEdit
public class FeaturePropertyChangedUndoableEdit extends NFEAtomicUndoableEdit
Atomic undoable edit implementation that performs the undo/redo actions when a feature's property has changed.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class oracle.spatial.network.nfe.model.edit.undo.NFEAtomicUndoableEdit
model
-
-
Constructor Summary
Constructors Constructor Description FeaturePropertyChangedUndoableEdit(NFEModel model, NFEFeature feature, java.lang.String propertyName, java.lang.Object previousValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
redo()
void
undo()
-
Methods inherited from class oracle.spatial.network.nfe.model.edit.undo.NFEAtomicUndoableEdit
getTimeStamp, setTimeStamp
-
-
-
-
Constructor Detail
-
FeaturePropertyChangedUndoableEdit
public FeaturePropertyChangedUndoableEdit(NFEModel model, NFEFeature feature, java.lang.String propertyName, java.lang.Object previousValue)
-
-
Method Detail
-
undo
public void undo() throws javax.swing.undo.CannotUndoException
- Specified by:
undo
in interfacejavax.swing.undo.UndoableEdit
- Overrides:
undo
in classjavax.swing.undo.AbstractUndoableEdit
- Throws:
javax.swing.undo.CannotUndoException
-
redo
public void redo() throws javax.swing.undo.CannotRedoException
- Specified by:
redo
in interfacejavax.swing.undo.UndoableEdit
- Overrides:
redo
in classjavax.swing.undo.AbstractUndoableEdit
- Throws:
javax.swing.undo.CannotRedoException
-
-