|
JSR-209 (Final Approval Ballot) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use UndoableEdit | |
javax.swing.event | Provides for events fired by Swing components. |
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 UndoableEdit in javax.swing.event |
Methods in javax.swing.event that return UndoableEdit | |
UndoableEdit |
UndoableEditEvent.getEdit()
Returns the edit value. |
Constructors in javax.swing.event with parameters of type UndoableEdit | |
UndoableEditEvent(java.lang.Object source,
UndoableEdit edit)
Constructs an UndoableEditEvent object. |
Uses of UndoableEdit in javax.swing.text |
Classes in javax.swing.text that implement UndoableEdit | |
class |
AbstractDocument.DefaultDocumentEvent
Stores document changes as the document is being modified. |
static class |
AbstractDocument.ElementEdit
An implementation of ElementChange that can be added to the document event. |
Methods in javax.swing.text that return UndoableEdit | |
UndoableEdit |
AbstractDocument.Content.insertString(int where,
java.lang.String str)
Inserts a string of characters into the sequence. |
UndoableEdit |
AbstractDocument.Content.remove(int where,
int nitems)
Removes some portion of the sequence. |
Methods in javax.swing.text with parameters of type UndoableEdit | |
boolean |
AbstractDocument.DefaultDocumentEvent.addEdit(UndoableEdit anEdit)
Adds a document edit. |
Uses of UndoableEdit in javax.swing.undo |
Classes in javax.swing.undo that implement UndoableEdit | |
class |
AbstractUndoableEdit
An abstract implementation of UndoableEdit ,
implementing simple responses to all boolean methods in
that interface. |
class |
CompoundEdit
A concrete subclass of AbstractUndoableEdit, used to assemble little UndoableEdits into great big ones. |
Methods in javax.swing.undo that return UndoableEdit | |
protected UndoableEdit |
CompoundEdit.lastEdit()
Returns the last UndoableEdit in
edits , or null
if edits is empty. |
Methods in javax.swing.undo with parameters of type UndoableEdit | |
boolean |
CompoundEdit.addEdit(UndoableEdit anEdit)
If this edit is inProgress ,
accepts anEdit and returns true. |
boolean |
UndoableEdit.addEdit(UndoableEdit anEdit)
This UndoableEdit should absorb anEdit
if it can. |
boolean |
UndoableEdit.replaceEdit(UndoableEdit anEdit)
Returns true if this UndoableEdit should replace
anEdit . |
boolean |
AbstractUndoableEdit.addEdit(UndoableEdit anEdit)
This default implementation returns false. |
boolean |
AbstractUndoableEdit.replaceEdit(UndoableEdit anEdit)
This default implementation returns false. |
|
JSR-209 (Final Approval Ballot) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
ing HTML