API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.undo. UndoableEditSupport View Source
Author(s)
Ray Ryan
Since
Version
1.21 11/17/05
Serial
Hierarchy
 Object
      UndoableEditSupport
Implements
Subclasses
Description
public class UndoableEditSupport
A support class used for managing UndoableEdit listeners.
See also:   
Constructors
public UndoableEditSupport ()
Constructs an UndoableEditSupport object.
public UndoableEditSupport (Object r)
  Constructs an UndoableEditSupport object.
Methods
Hide/Show inherited methods
protected void _postEdit (UndoableEdit e)
  Called only from postEdit and endUpdate.
publicsynchronized void addUndoableEditListener (UndoableEditListener l)
  Registers an UndoableEditListener.
publicsynchronized void beginUpdate ()
protected CompoundEdit createCompoundEdit ()
  Called only from beginUpdate.
publicsynchronized void endUpdate ()
  DEADLOCK WARNING: Calling this method may call undoableEditHappened in all listeners.
publicsynchronized UndoableEditListener getUndoableEditListeners ()
  Returns an array of all the UndoableEditListeners added to this UndoableEditSupport with addUndoableEditListener().
public int getUpdateLevel ()
  Returns the update level value.
publicsynchronized void postEdit (UndoableEdit e)
  DEADLOCK WARNING: Calling this method may call undoableEditHappened in all listeners.
publicsynchronized void removeUndoableEditListener (UndoableEditListener l)
  Removes an UndoableEditListener.
public String toString ()
  Returns a string that displays and identifies this object's properties.
Fields
Hide/Show inherited fields
protected CompoundEdit compoundEdit
protected Vector<UndoableEditListener> listeners
protected Object realSource
protected int updateLevel
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar