Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.awt.dnd

Class DnDConstants

java.lang.Object
|
+--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:Author:

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 #ACTION_LINK.

Field Details

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 #ACTION_LINK.