FileDocCategorySizeDatePackage
UndoableEditEvent.javaAPI DocJava SE 5 API1446Fri Aug 26 14:58:02 BST 2005javax.swing.event

UndoableEditEvent

public class UndoableEditEvent extends EventObject
An event indicating that an operation which can be undone has occurred.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see {@link java.beans.XMLEncoder}.

version
1.18 12/19/03
author
Ray Ryan

Fields Summary
private UndoableEdit
myEdit
Constructors Summary
public UndoableEditEvent(Object source, UndoableEdit edit)
Constructs an UndoableEditEvent object.

param
source the Object that originated the event (typically this)
param
edit an UndoableEdit object

	super(source);
	myEdit = edit;
    
Methods Summary
public javax.swing.undo.UndoableEditgetEdit()
Returns the edit value.

return
the UndoableEdit object encapsulating the edit

	return myEdit;