KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwtx > swing > event > UndoableEditEvent


1 /*
2    SwingWT
3    Copyright(c)2003-2004, R. Rawson-Tetley
4
5    For more information on distributing and using this program, please
6    see the accompanying "COPYING" file.
7
8    Contact me by electronic mail: bobintetley@users.sourceforge.net
9
10    $Log: UndoableEditEvent.java,v $
11    Revision 1.2 2004/04/16 10:19:07 dannaab
12    Misc bug fixes, InputMap implementation, preliminary undo support
13
14    Revision 1.1 2004/01/26 08:11:00 bobintetley
15    Many bugfixes and addition of SwingSet
16
17
18 */

19
20 package swingwtx.swing.event;
21
22 import swingwtx.swing.undo.UndoableEdit;
23
24 public class UndoableEditEvent extends java.util.EventObject JavaDoc {
25     private UndoableEdit myEdit;
26
27     public UndoableEditEvent(Object JavaDoc source, UndoableEdit edit) {
28         super(source);
29         myEdit = edit;
30     }
31
32     public UndoableEdit getEdit() {
33         return myEdit;
34     }
35 }
36
Popular Tags