java.awt.dnd
Class DnDConstants

java.lang.Object
  extended by java.awt.dnd.DnDConstants

public final class DnDConstants
extends Object

This class contains various constants used in drag-and-drop operations. Why it is not an interface is beyond me.

Since:
1.2

Field Summary
static int ACTION_COPY
          The copy action.
static int ACTION_COPY_OR_MOVE
          Either a copy or a move.
static int ACTION_LINK
          A link action.
static int ACTION_MOVE
          The move action.
static int ACTION_NONE
          No action takes place.
static int ACTION_REFERENCE
          A synonym for ACTION_LINK.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_NONE

public static final int ACTION_NONE
No action takes place.

See Also:
Constant Field Values

ACTION_COPY

public static final int ACTION_COPY
The copy action.

See Also:
Constant Field Values

ACTION_MOVE

public static final int ACTION_MOVE
The move action.

See Also:
Constant Field Values

ACTION_COPY_OR_MOVE

public static final int ACTION_COPY_OR_MOVE
Either a copy or a move.

See Also:
Constant Field Values

ACTION_LINK

public static final int ACTION_LINK
A link action. This does not copy or move, but creates a reference back to the original. However, since platforms differ on how a reference should behave, this action is not recommended for common use.

See Also:
Constant Field Values

ACTION_REFERENCE

public static final int ACTION_REFERENCE
A synonym for ACTION_LINK.

See Also:
Constant Field Values