Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

java.awt.dnd.

* DragSource
Methods declared in supertypes are hidden in subtypes

DragSourceDragEvent
DragSourceDragEvent (DragSourceContext dsc, int dropAction, int actions, int modifiers) DragSourceDragEvent (DragSourceContext dsc, int dropAction, int actions, int modifiers, int x, int y) int int int int int getDropAction () getGestureModifiers () getGestureModifiersEx () getTargetActions () getUserAction ()

Serializable
java.util.

EventObject

DragSourceEvent
DragSourceEvent (DragSourceContext dsc) DragSourceEvent (DragSourceContext dsc, int x, int y) DragSourceContext Point int int getDragSourceContext () getLocation () getX () getY ()

DragSourceDropEvent
DragSourceDropEvent (DragSourceContext dsc) DragSourceDropEvent (DragSourceContext dsc, int action, boolean success) DragSourceDropEvent (DragSourceContext dsc, int action, boolean success, int x, int y) int getDropAction () boolean getDropSuccess ()

DragSourceContext
DragSourceContext (DragSourceContextPeer dscp, DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point offset, Transferable t, DragSourceListener dsl)

java.util.

EventListener Serializable DragSourceListener


void void void void void dragDropEnd (DragSourceDropEvent dsde) dragEnter (DragSourceDragEvent dsde) dragExit (DragSourceEvent dse) dragOver (DragSourceDragEvent dsde) dropActionChanged (DragSourceDragEvent dsde)

DragSourceMotionListener
void dragMouseMoved (DragSourceDragEvent dsde)

Accessors Component Cursor DragSource int Transferable DragGestureEvent Event Methods void void Other Methods void # void

getComponent () get / setCursor () getDragSource () getSourceActions () getTransferable () getTrigger () addDragSourceListener (DragSourceListener dsl) removeDragSourceListener (DragSourceListener dsl) transferablesFlavorsChanged () updateCurrentCursor (int dropOp, int targetAct, int status)

DragSourceAdapter

DragSource
DragSource () Static Methods DragSource getDefaultDragSource () boolean isDragImageSupported () Accessors FlavorMap getFlavorMap () Event Methods

Serializable
#

void void DragGestureRecognizer DragGestureRecognizer DragSourceContext

DragSourceListener[] DragSourceMotionListener[] EventListener[] void void void void

add / removeDragSourceListener (DragSourceListener dsl) add / removeDragSourceMotionListener (DragSourceMotionListener dsml) createDefaultDragGestureRecognizer (Component c, int actions, DragGestureListener dgl) createDragGestureRecognizer (Class recognizerAbstractClass, Component c, int actions, DragGestureListener dgl) createDragSourceContext (DragSourceContextPeer dscp, DragGestureEvent dgl, Cursor dragCursor, Image dragImage, Point imageOffset, Transferable t, DragSourceListener dsl) getDragSourceListeners () getDragSourceMotionListeners () getListeners (Class listenerType) startDrag (DragGestureEvent trigger, Cursor dragCursor, Transferable transferable, DragSourceListener dsl) startDrag (DragGestureEvent trigger, Cursor dragCursor, Transferable transferable, DragSourceListener dsl, FlavorMap flavorMap) startDrag (DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point dragOffset, Transferable transferable, DragSourceListener dsl) startDrag (DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point imageOffset, Transferable transferable, DragSourceListener dsl, FlavorMap flavorMap) DefaultMoveDrop, DefaultLinkDrop, DefaultCopyNoDrop, DefaultMoveNoDrop, DefaultLinkNoDrop

Cursor DefaultCopyDrop,

You might also like