Java java.awt.dnd DragSource fields, constructors, methods, implement or subclass

Example usage for Java java.awt.dnd DragSource fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.awt.dnd DragSource.

The text is from its open source code.

Field

CursorDefaultCopyDrop
The default Cursor to use with a copy operation indicating that a drop is currently allowed.
CursorDefaultMoveDrop
The default Cursor to use with a move operation indicating that a drop is currently allowed.
CursorDefaultCopyNoDrop
The default Cursor to use with a copy operation indicating that a drop is currently not allowed.
CursorDefaultMoveNoDrop
The default Cursor to use with a move operation indicating that a drop is currently not allowed.

Constructor

DragSource()
Creates a new DragSource .

Method

voidaddDragSourceListener(DragSourceListener dsl)
Adds the specified DragSourceListener to this DragSource to receive drag source events during drag operations initiated with this DragSource .
DragGestureRecognizercreateDefaultDragGestureRecognizer(Component c, int actions, DragGestureListener dgl)
Creates a new DragGestureRecognizer that implements the default abstract subclass of DragGestureRecognizer for this DragSource , and sets the specified Component and DragGestureListener on the newly created object.
DragSourcegetDefaultDragSource()
Gets the DragSource object associated with the underlying platform.
booleanisDragImageSupported()
Reports whether or not drag Image support is available on the underlying platform.