uk.org.toot.misc
Class History

java.lang.Object
  extended by javax.swing.undo.AbstractUndoableEdit
      extended by javax.swing.undo.CompoundEdit
          extended by javax.swing.undo.UndoManager
              extended by uk.org.toot.misc.History
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.swing.event.UndoableEditListener, javax.swing.undo.UndoableEdit
Direct Known Subclasses:
SequenceHistory

public class History
extends javax.swing.undo.UndoManager

See Also:
Serialized Form

Constructor Summary
History()
           
 
Method Summary
 ChangeSupport getChangeSupport()
           
 boolean nowdo(UndoableCommand edit)
           
 void redo()
           
 void undo()
           
 
Methods inherited from class javax.swing.undo.UndoManager
addEdit, canRedo, canUndo, canUndoOrRedo, discardAllEdits, end, getLimit, getRedoPresentationName, getUndoOrRedoPresentationName, getUndoPresentationName, setLimit, toString, undoableEditHappened, undoOrRedo
 
Methods inherited from class javax.swing.undo.CompoundEdit
die, getPresentationName, isInProgress, isSignificant
 
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
replaceEdit
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

History

public History()
Method Detail

nowdo

public boolean nowdo(UndoableCommand edit)

undo

public void undo()
Specified by:
undo in interface javax.swing.undo.UndoableEdit
Overrides:
undo in class javax.swing.undo.UndoManager

redo

public void redo()
Specified by:
redo in interface javax.swing.undo.UndoableEdit
Overrides:
redo in class javax.swing.undo.UndoManager

getChangeSupport

public ChangeSupport getChangeSupport()


Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.