Imp
[using it]
Interface Manipulation Package v4.0 (2008-06-25) a-projector ©copyright Author


imp.gui
Class TextUndoManager

java.lang.Object
  extended by javax.swing.undo.AbstractUndoableEdit
      extended by javax.swing.undo.CompoundEdit
          extended by javax.swing.undo.UndoManager
              extended by imp.gui.TextUndoManager
All Implemented Interfaces:
Serializable, EventListener, UndoableEditListener, UndoableEdit

public class TextUndoManager
extends UndoManager

Encapsulates a standard text undo manager.

See Also:
Serialized Form

Constructor Summary
TextUndoManager(JTextComponent pane)
          Constructs a standard text undo manager for the given pane.
 
Method Summary
 JMenuItem redoItem()
          Returns the redo button.
 JMenuItem undoItem()
          Returns the undo button.
 
Methods inherited from class javax.swing.undo.UndoManager
addEdit, canRedo, canUndo, canUndoOrRedo, discardAllEdits, end, getLimit, getRedoPresentationName, getUndoOrRedoPresentationName, getUndoPresentationName, redo, setLimit, toString, undo, 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

TextUndoManager

public TextUndoManager(JTextComponent pane)
Constructs a standard text undo manager for the given pane.

Method Detail

redoItem

public JMenuItem redoItem()
Returns the redo button.


undoItem

public JMenuItem undoItem()
Returns the undo button.