public class DTreeDragSource
extends java.lang.Object
implements java.awt.dnd.DragSourceListener, java.awt.dnd.DragSourceMotionListener, java.awt.dnd.DragGestureListener
Modifier and Type | Field and Description |
---|---|
(package private) java.awt.image.BufferedImage |
dragImg |
(package private) java.awt.Point |
imgOffset |
(package private) java.awt.dnd.DragGestureRecognizer |
recognizer |
(package private) java.awt.dnd.DragSource |
source |
(package private) DTree |
sourceTree |
(package private) DdndTransferable |
transferable |
Constructor and Description |
---|
DTreeDragSource(DTree tree,
int actions) |
Modifier and Type | Method and Description |
---|---|
void |
dragDropEnd(java.awt.dnd.DragSourceDropEvent dsde) |
void |
dragEnter(java.awt.dnd.DragSourceDragEvent dsde) |
void |
dragExit(java.awt.dnd.DragSourceEvent dse) |
void |
dragGestureRecognized(java.awt.dnd.DragGestureEvent dge) |
void |
dragMouseMoved(java.awt.dnd.DragSourceDragEvent dsde) |
void |
dragOver(java.awt.dnd.DragSourceDragEvent dsde) |
void |
dropActionChanged(java.awt.dnd.DragSourceDragEvent dsde) |
java.awt.dnd.DragSource source
java.awt.dnd.DragGestureRecognizer recognizer
DdndTransferable transferable
DTree sourceTree
java.awt.image.BufferedImage dragImg
java.awt.Point imgOffset
public DTreeDragSource(DTree tree, int actions)
public void dragGestureRecognized(java.awt.dnd.DragGestureEvent dge)
dragGestureRecognized
in interface java.awt.dnd.DragGestureListener
public void dragEnter(java.awt.dnd.DragSourceDragEvent dsde)
dragEnter
in interface java.awt.dnd.DragSourceListener
public void dragExit(java.awt.dnd.DragSourceEvent dse)
dragExit
in interface java.awt.dnd.DragSourceListener
public void dragOver(java.awt.dnd.DragSourceDragEvent dsde)
dragOver
in interface java.awt.dnd.DragSourceListener
public void dropActionChanged(java.awt.dnd.DragSourceDragEvent dsde)
dropActionChanged
in interface java.awt.dnd.DragSourceListener
public void dragDropEnd(java.awt.dnd.DragSourceDropEvent dsde)
dragDropEnd
in interface java.awt.dnd.DragSourceListener
public void dragMouseMoved(java.awt.dnd.DragSourceDragEvent dsde)
dragMouseMoved
in interface java.awt.dnd.DragSourceMotionListener
Copyright © 2013. All Rights Reserved.