public class RUndoManager
extends javax.swing.undo.UndoManager
| Constructor and Description |
|---|
RUndoManager(RTextArea textArea)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
beginInternalAtomicEdit()
Begins an "atomic" edit.
|
void |
endInternalAtomicEdit()
Ends an "atomic" edit.
|
java.lang.String |
getCantRedoText()
Returns the localized "Can't Redo" string.
|
java.lang.String |
getCantUndoText()
Returns the localized "Can't Undo" string.
|
void |
redo() |
void |
undo() |
void |
undoableEditHappened(javax.swing.event.UndoableEditEvent e) |
void |
updateActions()
Ensures that undo/redo actions are enabled appropriately and have
descriptive text at all times.
|
addEdit, canRedo, canUndo, canUndoOrRedo, discardAllEdits, editToBeRedone, editToBeUndone, end, getLimit, getRedoPresentationName, getUndoOrRedoPresentationName, getUndoPresentationName, redoTo, setLimit, toString, trimEdits, trimForLimit, undoOrRedo, undoTopublic RUndoManager(RTextArea textArea)
textArea - The parent text area.public void beginInternalAtomicEdit()
endInternalAtomicEdit()public void endInternalAtomicEdit()
beginInternalAtomicEdit()public java.lang.String getCantRedoText()
getCantUndoText()public java.lang.String getCantUndoText()
getCantRedoText()public void redo()
redo in interface javax.swing.undo.UndoableEditredo in class javax.swing.undo.UndoManagerpublic void undo()
undo in interface javax.swing.undo.UndoableEditundo in class javax.swing.undo.UndoManagerpublic void undoableEditHappened(javax.swing.event.UndoableEditEvent e)
undoableEditHappened in interface javax.swing.event.UndoableEditListenerundoableEditHappened in class javax.swing.undo.UndoManagerpublic void updateActions()