Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Package | Description |
---|---|
javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components. |
javax.swing.undo | Allows developers to provide support for undo/redo in applications such as text editors. |
Uses of UndoableEditListener in javax.swing.text |
---|
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 |
AbstractDocument.addUndoableEditListener(UndoableEditListener listener)
Adds an undo listener for notification of any changes. |
void |
Document.addUndoableEditListener(UndoableEditListener listener)
Registers the given observer to begin receiving notifications when undoable edits are made to the document. |
void |
AbstractDocument.removeUndoableEditListener(UndoableEditListener listener)
Removes an undo listener. |
void |
Document.removeUndoableEditListener(UndoableEditListener listener)
Unregisters the given observer from the notification list so it will no longer receive updates. |
Uses of UndoableEditListener in javax.swing.undo |
---|
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 UndoableEditListener s 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 . |
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.