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:
undoin interfaceUndoableEdit- Overrides:
undoin classAbstractUndoableEdit- Throws:
CannotUndoException
-
redo
- Specified by:
redoin interfaceUndoableEdit- Overrides:
redoin classAbstractUndoableEdit- Throws:
CannotUndoException
-
getPresentationName
- Specified by:
getPresentationNamein interfaceUndoableEdit- Overrides:
getPresentationNamein classAbstractUndoableEdit
-