|
|||||||||
| Home >> All >> javax >> swing >> [ undo overview ] | PREV NEXT | ||||||||
A
- AbstractUndoableEdit - class javax.swing.undo.AbstractUndoableEdit.
- A default implementation of
UndoableEditthat can be used as a base for implementing editing operations. - AbstractUndoableEdit() - Constructor for class javax.swing.undo.AbstractUndoableEdit
- Constructs a new
AbstractUndoableEdit. - addEdit(UndoableEdit) - Method in class javax.swing.undo.AbstractUndoableEdit
- Incorporates another editing action into this one, thus forming a combined action.
- addEdit(UndoableEdit) - Method in class javax.swing.undo.CompoundEdit
- Incorporates another editing action into this one, thus forming a combined edit.
- addEdit(UndoableEdit) - Method in class javax.swing.undo.UndoManager
- Registers an undoable editing action with this UndoManager.
- addEdit(UndoableEdit) - Method in interface javax.swing.undo.UndoableEdit
- Incorporates another editing action into this one, thus forming a combined action.
- addUndoableEditListener(UndoableEditListener) - Method in class javax.swing.undo.UndoableEditSupport
- Registers a listener.
- alive - Variable in class javax.swing.undo.AbstractUndoableEdit
- Indicates whether this editing action is still alive.
B
- beginUpdate() - Method in class javax.swing.undo.UndoableEditSupport
- Starts a (possibly nested) update session.
C
- CannotRedoException - exception javax.swing.undo.CannotRedoException.
- An exception which indicates that an editing action cannot be redone.
- CannotRedoException() - Constructor for class javax.swing.undo.CannotRedoException
- Constructs a new instance of a
CannotRedoException. - CannotUndoException - exception javax.swing.undo.CannotUndoException.
- An exception which indicates that an editing action cannot be undone.
- CannotUndoException() - Constructor for class javax.swing.undo.CannotUndoException
- Constructs a new instance of a
CannotUndoException. - CompoundEdit - class javax.swing.undo.CompoundEdit.
- An editing action that consists of multiple
UndoableEdits. - CompoundEdit() - Constructor for class javax.swing.undo.CompoundEdit
- Constructs a new CompoundEdit.
- canRedo() - Method in class javax.swing.undo.AbstractUndoableEdit
- Determines whether it would be possible to redo this editing action.
- canRedo() - Method in class javax.swing.undo.CompoundEdit
- Determines whether it would be possible to redo this editing action.
- canRedo() - Method in class javax.swing.undo.UndoManager
- Determines whether it would be possible to redo this editing action.
- canRedo() - Method in interface javax.swing.undo.UndoableEdit
- Determines whether it would be possible to redo this editing action.
- canUndo() - Method in class javax.swing.undo.AbstractUndoableEdit
- Determines whether it would be possible to undo this editing action.
- canUndo() - Method in class javax.swing.undo.CompoundEdit
- Determines whether it would be possible to undo this editing action.
- canUndo() - Method in class javax.swing.undo.UndoManager
- Determines whether it would be possible to undo this editing action.
- canUndo() - Method in interface javax.swing.undo.UndoableEdit
- Determines whether it would be possible to undo this editing action.
- canUndoOrRedo() - Method in class javax.swing.undo.UndoManager
- Determines whether it would be possible to either undo or redo this editing action.
- compoundEdit - Variable in class javax.swing.undo.UndoableEditSupport
- compoundEdit
- createCompoundEdit() - Method in class javax.swing.undo.UndoableEditSupport
- Creates a new instance of CompoundEdit.
D
- die() - Method in class javax.swing.undo.AbstractUndoableEdit
- Informs this edit action that it will no longer be used.
- die() - Method in class javax.swing.undo.CompoundEdit
- Informs this edit action, and all compound edits, that they will no longer be used.
- die() - Method in interface javax.swing.undo.UndoableEdit
- Informs this edit action that it will no longer be used.
- discardAllEdits() - Method in class javax.swing.undo.UndoManager
- Discards all editing actions that are currently registered with this UndoManager.
E
- editToBeRedone() - Method in class javax.swing.undo.UndoManager
- Determines which significant edit would be redone if
UndoManager.redo()55 was called. - editToBeUndone() - Method in class javax.swing.undo.UndoManager
- Determines which significant edit would be undone if
UndoManager.undo()55 was called. - edits - Variable in class javax.swing.undo.CompoundEdit
- The
UndoableEdits being combined into a compound editing action. - end() - Method in class javax.swing.undo.CompoundEdit
- Informs this
CompoundEditthat its construction phase has been completed. - end() - Method in class javax.swing.undo.StateEdit
- Informs this
StateEditthat all edits are finished. - end() - Method in class javax.swing.undo.UndoManager
- Puts this UndoManager into a state where it acts as a normal CompoundEdit.
- endUpdate() - Method in class javax.swing.undo.UndoableEditSupport
- Ends an update session.
G
- getLimit() - Method in class javax.swing.undo.UndoManager
- Returns how many edits this UndoManager can maximally hold.
- getPresentationName() - Method in class javax.swing.undo.AbstractUndoableEdit
- Returns a human-readable, localized name that describes this editing action and can be displayed to the user.
- getPresentationName() - Method in class javax.swing.undo.CompoundEdit
- Returns a human-readable, localized name that describes this editing action and can be displayed to the user.
- getPresentationName() - Method in class javax.swing.undo.StateEdit
- Returns a human-readable, localized name that describes this editing action and can be displayed to the user.
- getPresentationName() - Method in interface javax.swing.undo.UndoableEdit
- Returns a human-readable, localized name that describes this editing action and can be displayed to the user.
- getRedoPresentationName() - Method in class javax.swing.undo.AbstractUndoableEdit
- Calculates a localized name for presenting the redo action to the user.
- getRedoPresentationName() - Method in class javax.swing.undo.CompoundEdit
- Calculates a localized message text for presenting the redo action to the user.
- getRedoPresentationName() - Method in class javax.swing.undo.UndoManager
- Calculates a localized text for presenting the redo action to the user, for example in the form of a menu command.
- getRedoPresentationName() - Method in interface javax.swing.undo.UndoableEdit
- Returns the redo presentation name.
- getUndoOrRedoPresentationName() - Method in class javax.swing.undo.UndoManager
- Calculates a localized text for presenting the undo or redo action to the user, for example in the form of a menu command.
- getUndoPresentationName() - Method in class javax.swing.undo.AbstractUndoableEdit
- Calculates a localized name for presenting the undo action to the user.
- getUndoPresentationName() - Method in class javax.swing.undo.CompoundEdit
- Calculates a localized message text for presenting the undo action to the user.
- getUndoPresentationName() - Method in class javax.swing.undo.UndoManager
- Calculates a localized text for presenting the undo action to the user, for example in the form of a menu command.
- getUndoPresentationName() - Method in interface javax.swing.undo.UndoableEdit
- Returns the undo presentation name.
- getUndoableEditListeners() - Method in class javax.swing.undo.UndoableEditSupport
- Returns an array containing the currently registered listeners.
- getUpdateLevel() - Method in class javax.swing.undo.UndoableEditSupport
- Returns the current update level.
H
- hasBeenDone - Variable in class javax.swing.undo.AbstractUndoableEdit
- Indicates whether this editing action has been executed.
I
- inProgress - Variable in class javax.swing.undo.CompoundEdit
- Indicates whether the creation of this CompoundEdit is still in progress.
- indexOfNextAdd - Variable in class javax.swing.undo.UndoManager
- An index into the inherited
CompoundEdit.edits55 Vector that indicates at which position newly added editing actions would get inserted. - init(StateEditable, String) - Method in class javax.swing.undo.StateEdit
- Initializes this
StateEdit. - isInProgress() - Method in class javax.swing.undo.CompoundEdit
- Determines whether the initial construction phase of this
CompoundEditis still in progress. - isSignificant() - Method in class javax.swing.undo.AbstractUndoableEdit
- Determines whether this editing action is significant enough for being seperately undoable by the user.
- isSignificant() - Method in class javax.swing.undo.CompoundEdit
- Determines whether this editing action is significant enough for being seperately undoable by the user.
- isSignificant() - Method in interface javax.swing.undo.UndoableEdit
- Determines whether this editing action is significant enough for being seperately undoable by the user.
J
- javax.swing.undo - package javax.swing.undo
L
- lastEdit() - Method in class javax.swing.undo.CompoundEdit
- Returns the the
UndoableEditthat was last added to this compound. - limit - Variable in class javax.swing.undo.UndoManager
- The maximum number of UndoableEdits stored by this UndoManager.
- listeners - Variable in class javax.swing.undo.UndoableEditSupport
- The currently registered listeners.
O
- object - Variable in class javax.swing.undo.StateEdit
- The object which is being edited by this
StateEdit.
P
- postEdit(UndoableEdit) - Method in class javax.swing.undo.UndoableEditSupport
- If
UndoableEditSupport.beginUpdate()55 has been called (so that the current update level is greater than zero), adds the specified edit toUndoableEditSupport.compoundEdit55 . - postState - Variable in class javax.swing.undo.StateEdit
- The state of
objectat the time whenStateEdit.end()55 was called. - preState - Variable in class javax.swing.undo.StateEdit
- The state of
objectat the time of constructing thisStateEdit.
R
- RCSID - Static variable in class javax.swing.undo.StateEdit
- The ID of the Java source file in Sun’s Revision Control System (RCS).
- RCSID - Static variable in interface javax.swing.undo.StateEditable
- The ID of the Java source file in Sun’s Revision Control System (RCS).
- RedoName - Static variable in class javax.swing.undo.AbstractUndoableEdit
- The constant string “Redo”, which was returned by
AbstractUndoableEdit.getRedoPresentationName()55 on early versions of the platform. - realSource - Variable in class javax.swing.undo.UndoableEditSupport
- The source of the broadcast UndoableEditEvents.
- redo() - Method in class javax.swing.undo.AbstractUndoableEdit
- Redoes this editing action.
- redo() - Method in class javax.swing.undo.CompoundEdit
- Redoes all edits that are part of of this
CompoundEdit. - redo() - Method in class javax.swing.undo.StateEdit
- Redoes this edit operation.
- redo() - Method in class javax.swing.undo.UndoManager
- Redoes one significant edit action.
- redo() - Method in interface javax.swing.undo.UndoableEdit
- Redoes this editing action.
- redoTo(UndoableEdit) - Method in class javax.swing.undo.UndoManager
- Redoes all editing actions in the same order as they were added to this UndoManager, up to the specified action.
- removeRedundantState() - Method in class javax.swing.undo.StateEdit
- Removes all redundant entries from the pre- and post-edit state hash tables.
- removeUndoableEditListener(UndoableEditListener) - Method in class javax.swing.undo.UndoableEditSupport
- Unregisters a listener.
- replaceEdit(UndoableEdit) - Method in class javax.swing.undo.AbstractUndoableEdit
- Incorporates another editing action into this one, thus forming a combined action that replaces the argument action.
- replaceEdit(UndoableEdit) - Method in interface javax.swing.undo.UndoableEdit
- Incorporates another editing action into this one, thus forming a combined action that replaces the argument action.
- restoreState(Hashtable) - Method in interface javax.swing.undo.StateEditable
- Performs an edit action, taking any editable state information from the specified hash table.
S
- StateEdit - class javax.swing.undo.StateEdit.
- A helper class, making it easy to support undo and redo.
- StateEdit(StateEditable) - Constructor for class javax.swing.undo.StateEdit
- Constructs a
StateEdit, specifying the object whose state is being edited. - StateEdit(StateEditable, String) - Constructor for class javax.swing.undo.StateEdit
- Constructs a
StateEdit, specifying the object whose state is being edited. - StateEditable - interface javax.swing.undo.StateEditable.
- The interface for objects whose state can be undone or redone by a StateEdit action.
- serialVersionUID - Static variable in class javax.swing.undo.AbstractUndoableEdit
- The serialization ID.
- serialVersionUID - Static variable in class javax.swing.undo.CompoundEdit
- The identifier of this class in object serialization.
- serialVersionUID - Static variable in class javax.swing.undo.UndoManager
- The unique ID for serializing instances of this class.
- setLimit(int) - Method in class javax.swing.undo.UndoManager
- Changes the maximal number of edits that this UndoManager can process.
- storeState(Hashtable) - Method in interface javax.swing.undo.StateEditable
- Stores any editable state information into the specified hash table.
T
- toString() - Method in class javax.swing.undo.AbstractUndoableEdit
- toString() - Method in class javax.swing.undo.CompoundEdit
- Calculates a string that may be useful for debugging.
- toString() - Method in class javax.swing.undo.UndoManager
- Returns a string representation for this UndoManager.
- toString() - Method in class javax.swing.undo.UndoableEditSupport
- Returns a string representation of this object that may be useful for debugging.
- trimEdits(int, int) - Method in class javax.swing.undo.UndoManager
- Discards a range of edits.
- trimForLimit() - Method in class javax.swing.undo.UndoManager
- Called by various internal methods in order to enforce
the
limitvalue.
U
- UndoManager - class javax.swing.undo.UndoManager.
- A manager for providing an application’s undo/redo functionality.
- UndoManager() - Constructor for class javax.swing.undo.UndoManager
- Constructs an UndoManager.
- UndoName - Static variable in class javax.swing.undo.AbstractUndoableEdit
- The constant string “Undo”, which was returned by
AbstractUndoableEdit.getUndoPresentationName()55 on early versions of the platform. - UndoableEdit - interface javax.swing.undo.UndoableEdit.
- An editing operation that supports undo/redoability.
- UndoableEditSupport - class javax.swing.undo.UndoableEditSupport.
- A helper class for supporting javax.swing.event.UndoableEditListener.
- UndoableEditSupport() - Constructor for class javax.swing.undo.UndoableEditSupport
- Constructs a new helper for broadcasting UndoableEditEvents.
- UndoableEditSupport(Object) - Constructor for class javax.swing.undo.UndoableEditSupport
- Constructs a new helper for broadcasting UndoableEditEvents.
- undo() - Method in class javax.swing.undo.AbstractUndoableEdit
- Undoes this editing action.
- undo() - Method in class javax.swing.undo.CompoundEdit
- Undoes all edits that are part of of this
CompoundEdit. - undo() - Method in class javax.swing.undo.StateEdit
- Undoes this edit operation.
- undo() - Method in class javax.swing.undo.UndoManager
- Undoes one significant edit action.
- undo() - Method in interface javax.swing.undo.UndoableEdit
- Undoes this editing action.
- undoOrRedo() - Method in class javax.swing.undo.UndoManager
- Undoes or redoes the last action.
- undoRedoName - Variable in class javax.swing.undo.StateEdit
- A human-readable name for this edit action.
- undoTo(UndoableEdit) - Method in class javax.swing.undo.UndoManager
- Undoes all editing actions in reverse order of addition, up to the specified action,
- undoableEditHappened(UndoableEditEvent) - Method in class javax.swing.undo.UndoManager
- Registers the edit action of an javax.swing.event.UndoableEditEvent with this UndoManager.
- updateLevel - Variable in class javax.swing.undo.UndoableEditSupport
- The number of times that
UndoableEditSupport.beginUpdate()55 has been called without a matching call toUndoableEditSupport.endUpdate()55 .
_
- _postEdit(UndoableEdit) - Method in class javax.swing.undo.UndoableEditSupport
- Notifies all registered listeners that an javax.swing.event.UndoableEditEvent has occured.
A B C D E G H I J L O P R S T U _
|
|||||||||
| Home >> All >> javax >> swing >> [ undo overview ] | PREV NEXT | ||||||||