org.opensourcephysics.tools
Class Launcher.LinkEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
org.opensourcephysics.tools.Launcher.LinkEdit
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.undo.UndoableEdit
- Enclosing class:
- Launcher
- protected class Launcher.LinkEdit
- extends javax.swing.undo.AbstractUndoableEdit
A class to undo/redo a link, open or new tabset action.
- See Also:
- Serialized Form
Fields inherited from class javax.swing.undo.AbstractUndoableEdit |
RedoName, UndoName |
Methods inherited from class javax.swing.undo.AbstractUndoableEdit |
addEdit, canRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Launcher.LinkEdit
public Launcher.LinkEdit(java.lang.String[] arguments)
- Constructor.
- Parameters:
arguments
- [0] is new file name, [1] is new tab and node name
Launcher.LinkEdit
public Launcher.LinkEdit(Launcher.LinkEdit edit)
- Copy constructor.
- Parameters:
edit
- the LinkEdit to copy
undo
public void undo()
throws javax.swing.undo.CannotUndoException
- Throws:
javax.swing.undo.CannotUndoException
redo
public void redo()
throws javax.swing.undo.CannotUndoException
- Throws:
javax.swing.undo.CannotUndoException
getPresentationName
public java.lang.String getPresentationName()