java > java.awt > java.awt.dnd > java.awt.dnd.dragsource >

Class: java.awt.dnd.DragSource
    java.lang.Object
       java.awt.dnd.DragSource


public class DragSource extends Object implements Serializable


FIELDS:
public static final Cursor DefaultCopyDrop
public static final Cursor DefaultCopyNoDrop
public static final Cursor DefaultLinkDrop
public static final Cursor DefaultLinkNoDrop
public static final Cursor DefaultMoveDrop
public static final Cursor DefaultMoveNoDrop

CONSTRUCTORS:
public DragSource()


METHODS:
public void addDragSourceListener(DragSourceListener dsl)

public void addDragSourceMotionListener(DragSourceMotionListener dsml)

public DragGestureRecognizer createDefaultDragGestureRecognizer(Component c, int actions, DragGestureListener dgl)

public Object createDragGestureRecognizer(Class recognizerAbstractClass, Component c, int actions, DragGestureListener dgl)

protected DragSourceContext createDragSourceContext(java.awt.dnd.peer.DragSourceContextPeer dscp, DragGestureEvent dgl, Cursor dragCursor, Image dragImage, Point imageOffset, Transferable t, DragSourceListener dsl)
Throws: NullPointerException
Throws: NullPointerException
Throws: NullPointerException
Throws: NullPointerException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException
Throws: IllegalArgumentException

public static DragSource getDefaultDragSource()
Throws: HeadlessException

public DragSourceListener[] getDragSourceListeners()

public DragSourceMotionListener[] getDragSourceMotionListeners()

public static int getDragThreshold()

public FlavorMap getFlavorMap()

public Object[] getListeners(Class listenerType)

public static boolean isDragImageSupported()

public void removeDragSourceListener(DragSourceListener dsl)

public void removeDragSourceMotionListener(DragSourceMotionListener dsml)

public void startDrag(DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point dragOffset, Transferable transferable, DragSourceListener dsl)
Throws: InvalidDnDOperationException

public void startDrag(DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point imageOffset, Transferable transferable, DragSourceListener dsl, FlavorMap flavorMap)
Throws: InvalidDnDOperationException

public void startDrag(DragGestureEvent trigger, Cursor dragCursor, Transferable transferable, DragSourceListener dsl)
Throws: InvalidDnDOperationException

public void startDrag(DragGestureEvent trigger, Cursor dragCursor, Transferable transferable, DragSourceListener dsl, FlavorMap flavorMap)
Throws: InvalidDnDOperationException


INHERITED METHODS:
getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net