Package ca.phon.app.opgraph.wizard.edits
Class NodeWizardOptionalsEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
ca.phon.app.opgraph.wizard.edits.NodeWizardOptionalsEdit
- All Implemented Interfaces:
Serializable
,UndoableEdit
- See Also:
-
Field Summary
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
-
Constructor Summary
ConstructorDescriptionNodeWizardOptionalsEdit
(ca.phon.opgraph.OpGraph graph, WizardExtension wizardExt, ca.phon.opgraph.OpNode node, boolean addNodeToOptionals, boolean defaultValue) -
Method Summary
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
-
Constructor Details
-
NodeWizardOptionalsEdit
public NodeWizardOptionalsEdit(ca.phon.opgraph.OpGraph graph, WizardExtension wizardExt, ca.phon.opgraph.OpNode node, boolean addNodeToOptionals, boolean defaultValue)
-
-
Method Details
-
canUndo
public boolean canUndo()- Specified by:
canUndo
in interfaceUndoableEdit
- Overrides:
canUndo
in classAbstractUndoableEdit
-
undo
public void undo()- Specified by:
undo
in interfaceUndoableEdit
- Overrides:
undo
in classAbstractUndoableEdit
-
canRedo
public boolean canRedo()- Specified by:
canRedo
in interfaceUndoableEdit
- Overrides:
canRedo
in classAbstractUndoableEdit
-
redo
public void redo()- Specified by:
redo
in interfaceUndoableEdit
- Overrides:
redo
in classAbstractUndoableEdit
-