protected class LauncherUndo.NavEdit
extends javax.swing.undo.AbstractUndoableEdit
Constructor and Description |
---|
LauncherUndo.NavEdit(LaunchNode prev,
LaunchNode node)
Constructor.
|
LauncherUndo.NavEdit(java.lang.Object[] oldState,
java.lang.Object[] newState)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPresentationName() |
void |
redo() |
void |
undo() |
public LauncherUndo.NavEdit(java.lang.Object[] oldState, java.lang.Object[] newState)
oldState
- the prevous state (undo)newState
- the new state (redo)public LauncherUndo.NavEdit(LaunchNode prev, LaunchNode node)
prev
- the prevous node (undo)node
- the new node (redo)public void undo() throws javax.swing.undo.CannotUndoException
undo
in interface javax.swing.undo.UndoableEdit
undo
in class javax.swing.undo.AbstractUndoableEdit
javax.swing.undo.CannotUndoException
public void redo() throws javax.swing.undo.CannotUndoException
redo
in interface javax.swing.undo.UndoableEdit
redo
in class javax.swing.undo.AbstractUndoableEdit
javax.swing.undo.CannotUndoException
public java.lang.String getPresentationName()
getPresentationName
in interface javax.swing.undo.UndoableEdit
getPresentationName
in class javax.swing.undo.AbstractUndoableEdit