KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwt > awt > dnd > DropTargetEvent


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: DropTargetEvent.java,v $
11    Revision 1.1 2004/05/05 12:43:19 bobintetley
12    Patches/new files from Laurent Martell
13
14  
15  */

16 package swingwt.awt.dnd;
17
18 import java.util.EventObject JavaDoc;
19
20 /** @author Laurent Martell */
21 public class DropTargetEvent extends EventObject JavaDoc {
22     public DropTargetEvent(DropTargetContext context) {
23         super(context.getDropTarget());
24         this.context = context;
25     }
26     protected DropTargetContext context;
27     public DropTargetContext getDropTargetContext() {
28         return context;
29     }
30 }
31
Popular Tags