java.awt.dnd

Class 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

UNKNOWN: updated to 1.4

Field Summary
static intACTION_COPY
The copy action.
static intACTION_COPY_OR_MOVE
Either a copy or a move.
static intACTION_LINK
A link action.
static intACTION_MOVE
The move action.
static intACTION_NONE
No action takes place.
static intACTION_REFERENCE
A synonym for {@link #ACTION_LINK}.

Field Detail

ACTION_COPY

public static final int ACTION_COPY
The copy action.

ACTION_COPY_OR_MOVE

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

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.

ACTION_MOVE

public static final int ACTION_MOVE
The move action.

ACTION_NONE

public static final int ACTION_NONE
No action takes place.

ACTION_REFERENCE

public static final int ACTION_REFERENCE
A synonym for {@link #ACTION_LINK}.