![]() | [using it] | Interface Manipulation Package v4.0 (2008-06-25) | ![]() | ©copyright | ![]() |
java.lang.Objectjavax.swing.undo.AbstractUndoableEdit
javax.swing.undo.CompoundEdit
javax.swing.undo.UndoManager
imp.gui.TextUndoManager
public class TextUndoManager
Encapsulates a standard text undo manager.
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 |
---|
public TextUndoManager(JTextComponent pane)
Method Detail |
---|
public JMenuItem redoItem()
public JMenuItem undoItem()