| Package | Description |
|---|---|
| javax.swing.text | |
| javax.swing.undo |
| Modifier and Type | Method and Description |
|---|---|
UndoableEditListener[] |
AbstractDocument.getUndoableEditListeners()
Returns an array of all the undoable edit listeners
registered on this document.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Document.addUndoableEditListener(UndoableEditListener listener)
Registers the given observer to begin receiving notifications
when undoable edits are made to the document.
|
void |
AbstractDocument.addUndoableEditListener(UndoableEditListener listener)
Adds an undo listener for notification of any changes.
|
void |
Document.removeUndoableEditListener(UndoableEditListener listener)
Unregisters the given observer from the notification list
so it will no longer receive updates.
|
void |
AbstractDocument.removeUndoableEditListener(UndoableEditListener listener)
Removes an undo listener.
|
| Modifier and Type | Class and Description |
|---|---|
class |
UndoManager
UndoManager manages a list of UndoableEdits,
providing a way to undo or redo the appropriate edits. |
| Modifier and Type | Field and Description |
|---|---|
protected Vector<UndoableEditListener> |
UndoableEditSupport.listeners |
| Modifier and Type | Method and Description |
|---|---|
UndoableEditListener[] |
UndoableEditSupport.getUndoableEditListeners()
Returns an array of all the
UndoableEditListeners added
to this UndoableEditSupport with addUndoableEditListener(). |
| Modifier and Type | Method and Description |
|---|---|
void |
UndoableEditSupport.addUndoableEditListener(UndoableEditListener l)
Registers an
UndoableEditListener. |
void |
UndoableEditSupport.removeUndoableEditListener(UndoableEditListener l)
Removes an
UndoableEditListener. |
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.