sears.gui.undo
Class SearsUndoManager

java.lang.Object
  extended by javax.swing.undo.AbstractUndoableEdit
      extended by javax.swing.undo.CompoundEdit
          extended by javax.swing.undo.UndoManager
              extended by sears.gui.undo.SearsUndoManager
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.swing.event.UndoableEditListener, javax.swing.undo.UndoableEdit

public class SearsUndoManager
extends javax.swing.undo.UndoManager
implements javax.swing.event.UndoableEditListener

SearsUndoManager This manage the undo/redo for Sears.

See Also:
Serialized Form

Field Summary
static java.lang.String ACTION_KEY_REDO
          REDO action key.
static java.lang.String ACTION_KEY_UNDO
          UNDO action key.
 
Fields inherited from class javax.swing.undo.CompoundEdit
edits
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Constructor Summary
SearsUndoManager()
           
 
Method Summary
 SearsAction getRedoAction()
          Method getRedoAction.
 SearsAction getUndoAction()
          Method getUndoAction.
 void undoableEditHappened(javax.swing.event.UndoableEditEvent e)
           
 
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, 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
 

Field Detail

ACTION_KEY_UNDO

public static final java.lang.String ACTION_KEY_UNDO
UNDO action key.

See Also:
Constant Field Values

ACTION_KEY_REDO

public static final java.lang.String ACTION_KEY_REDO
REDO action key.

See Also:
Constant Field Values
Constructor Detail

SearsUndoManager

public SearsUndoManager()
Method Detail

undoableEditHappened

public void undoableEditHappened(javax.swing.event.UndoableEditEvent e)
Specified by:
undoableEditHappened in interface javax.swing.event.UndoableEditListener
Overrides:
undoableEditHappened in class javax.swing.undo.UndoManager

getUndoAction

public SearsAction getUndoAction()
Method getUndoAction.
Summary:
Return the undoAction.

Returns:
the undoAction

getRedoAction

public SearsAction getRedoAction()
Method getRedoAction.
Summary:
Return the redoAction.

Returns:
the redoAction