dsto.dfc.swing.dnd
Class DragSourceAdapter
java.lang.Object
dsto.dfc.swing.dnd.DragSourceAdapter
- All Implemented Interfaces:
- DragGestureListener, DragSourceListener, EventListener
public class DragSourceAdapter
- extends Object
- implements DragSourceListener, DragGestureListener
A drag source listener that manages drag gestures for a
DragComponent
.
- Version:
- $Revision$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dragSource
protected DragSource dragSource
component
protected DragComponent component
copyDropCursor
protected Cursor copyDropCursor
copyNoDropCursor
protected Cursor copyNoDropCursor
moveDropCursor
protected Cursor moveDropCursor
moveNoDropCursor
protected Cursor moveNoDropCursor
linkDropCursor
protected Cursor linkDropCursor
linkNoDropCursor
protected Cursor linkNoDropCursor
DragSourceAdapter
public DragSourceAdapter(DragComponent component,
DragGestureRecognizer recognizer)
DragSourceAdapter
public DragSourceAdapter(DragComponent component)
getCurrentDragComponent
public static DragComponent getCurrentDragComponent()
dragGestureRecognized
public void dragGestureRecognized(DragGestureEvent e)
- Specified by:
dragGestureRecognized
in interface DragGestureListener
dragEnter
public void dragEnter(DragSourceDragEvent e)
- Specified by:
dragEnter
in interface DragSourceListener
dragOver
public void dragOver(DragSourceDragEvent e)
- Specified by:
dragOver
in interface DragSourceListener
dropActionChanged
public void dropActionChanged(DragSourceDragEvent e)
- Specified by:
dropActionChanged
in interface DragSourceListener
dragExit
public void dragExit(DragSourceEvent e)
- Specified by:
dragExit
in interface DragSourceListener
dragDropEnd
public void dragDropEnd(DragSourceDropEvent e)
- Specified by:
dragDropEnd
in interface DragSourceListener
updateDragOverFeedback
protected void updateDragOverFeedback(DragSourceDragEvent e)
filterTriggerEvent
protected boolean filterTriggerEvent(InputEvent e)
- Filter drag trigger events.
Copyright © 2008 Commonwealth of Australia