KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2    SwingWT
3    Copyright(c)2003-2004, Tomer Bartletz
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: tomerb@users.sourceforge.net
9
10    $Log: DnDConstants.java,v $
11    Revision 1.2 2003/12/22 08:48:17 bobintetley
12    Fixed up DnD to build temporarily
13
14
15  */

16 package swingwt.awt.dnd;
17
18 /**
19  * Type of actions to be performed by a Drag and Drop operation
20  *
21  * @author Tomer Barletz, tomerb@users.sourceforge.net
22  * @version 0.1
23  */

24 public class DnDConstants {
25
26     public static final int ACTION_NONE=0x0; //no action
27
public static final int ACTION_COPY=0x1; //copy action
28
public static final int ACTION_MOVE=0x2; //move action
29
public static final int ACTION_COPY_OR_MOVE=ACTION_COPY | ACTION_MOVE; //copy or move
30
public static final int ACTION_LINK=0x40000000; //link action
31
public static final int ACTION_REFERENCE=ACTION_LINK; //reference action
32

33     private DnDConstants() {}
34 }
35
Popular Tags