|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.undo.AbstractUndoableEdit edu.umd.cfar.lamp.apploader.undo.LalUndoableEditWrapper
Converts a LabeledUndoableEdit
into a Swing undoable.
Field Summary |
Fields inherited from class javax.swing.undo.AbstractUndoableEdit |
RedoName, UndoName |
Constructor Summary | |
LalUndoableEditWrapper(LabeledUndoableEdit lue,
PrefsManager prefs)
Create a new swing undoable from the given AppLoader undoable and its associated application preferences. |
Method Summary | |
boolean |
canRedo()
|
boolean |
canUndo()
|
void |
die()
|
java.lang.String |
getPresentationName()
Get the presentation name for the undoable. |
void |
redo()
|
java.lang.String |
toString()
Gets the short name (rdfs:label). |
void |
undo()
|
Methods inherited from class javax.swing.undo.AbstractUndoableEdit |
addEdit, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LalUndoableEditWrapper(LabeledUndoableEdit lue, PrefsManager prefs)
lue
- The undoable to wrapprefs
- The preferences to use while generating the swing undoableMethod Detail |
public java.lang.String getPresentationName()
public java.lang.String toString()
public boolean canRedo()
public boolean canUndo()
public void die()
public void redo() throws javax.swing.undo.CannotRedoException
javax.swing.undo.CannotRedoException
public void undo() throws javax.swing.undo.CannotUndoException
javax.swing.undo.CannotUndoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |