Package org.opensourcephysics.tools
Class JarTreeDialog.SelectionEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
org.opensourcephysics.tools.JarTreeDialog.SelectionEdit
- All Implemented Interfaces:
Serializable
,UndoableEdit
- Enclosing class:
- JarTreeDialog
A class to undo/redo tree node selections.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
-
Constructor Summary
ConstructorsConstructorDescriptionSelectionEdit
(TreePath[] undoPaths, int undoRow, TreePath[] redoPaths, int redoRow) Constructor SelectionEditSelectionEdit
(TreePath[] undoPaths, TreePath[] redoPaths) Constructor SelectionEdit -
Method Summary
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
-
Constructor Details
-
SelectionEdit
Constructor SelectionEdit- Parameters:
undoPaths
-redoPaths
-
-
SelectionEdit
Constructor SelectionEdit- Parameters:
undoPaths
-undoRow
-redoPaths
-redoRow
-
-
-
Method Details
-
undo
- Specified by:
undo
in interfaceUndoableEdit
- Overrides:
undo
in classAbstractUndoableEdit
- Throws:
CannotUndoException
-
redo
- Specified by:
redo
in interfaceUndoableEdit
- Overrides:
redo
in classAbstractUndoableEdit
- Throws:
CannotUndoException
-
getPresentationName
- Specified by:
getPresentationName
in interfaceUndoableEdit
- Overrides:
getPresentationName
in classAbstractUndoableEdit
-