|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.undo.AbstractUndoableEdit javax.swing.undo.CompoundEdit javax.swing.undo.UndoManager org.opensourcephysics.tools.LauncherUndo
public class LauncherUndo
This provides undo support for Launcher.
Nested Class Summary | |
---|---|
protected class |
LauncherUndo.LoadEdit
A class to undo/redo a node link, open file or new tabset action. |
protected class |
LauncherUndo.NavEdit
A class to undo/redo a hyperlink or user navigation action. |
Field Summary |
---|
Fields inherited from class javax.swing.undo.CompoundEdit |
---|
edits |
Fields inherited from class javax.swing.undo.AbstractUndoableEdit |
---|
RedoName, UndoName |
Constructor Summary | |
---|---|
LauncherUndo(Launcher launcher)
Constructor. |
Method Summary | |
---|---|
boolean |
canReload()
Returns true if pending edit is a link edit. |
java.lang.String[] |
getLauncherState()
Gets the current launcher state. |
void |
setLauncher(Launcher launcher)
Sets the launcher. |
Methods inherited from class javax.swing.undo.UndoManager |
---|
addEdit, canRedo, canUndo, canUndoOrRedo, discardAllEdits, editToBeRedone, editToBeUndone, end, getLimit, getRedoPresentationName, getUndoOrRedoPresentationName, getUndoPresentationName, redo, redoTo, setLimit, toString, trimEdits, trimForLimit, undo, undoableEditHappened, undoOrRedo, undoTo |
Methods inherited from class javax.swing.undo.CompoundEdit |
---|
die, getPresentationName, isInProgress, isSignificant, lastEdit |
Methods inherited from class javax.swing.undo.AbstractUndoableEdit |
---|
replaceEdit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LauncherUndo(Launcher launcher)
launcher
- the Launcher to undo/redoMethod Detail |
---|
public void setLauncher(Launcher launcher)
launcher
- the Launcher to undo/redopublic boolean canReload()
public java.lang.String[] getLauncherState()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |