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

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

Introduction

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

The text is from its open source code.

Method

ComponentgetComponent()
Returns the Component associated with this DragGestureEvent .
intgetDragAction()
Returns an int representing the action selected by the user.
PointgetDragOrigin()
Returns a Point in the coordinates of the Component over which the drag originated.
InputEventgetTriggerEvent()
Returns the initial event that triggered the gesture.
Iteratoriterator()
Returns an Iterator for the events comprising the gesture.
voidstartDrag(Cursor dragCursor, Transferable transferable)
Starts the drag operation given the Cursor for this drag operation and the Transferable representing the source data for this drag operation.
voidstartDrag(Cursor dragCursor, Transferable transferable, DragSourceListener dsl)
Starts the drag given the initial Cursor to display, the Transferable object, and the DragSourceListener to use.
voidstartDrag(Cursor dragCursor, Image dragImage, Point imageOffset, Transferable transferable, DragSourceListener dsl)
Start the drag given the initial Cursor to display, a drag Image , the offset of the Image , the Transferable object, and the DragSourceListener to use.