wjhk.jupload2.gui
Class DnDListener
java.lang.Object
wjhk.jupload2.gui.DnDListener
- All Implemented Interfaces:
- DropTargetListener, EventListener
public class DnDListener
- extends Object
- implements DropTargetListener
Our implementation of DND.
- Version:
- $Release$
- Author:
- William JinHua Kwong
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DnDListener
public DnDListener(JUploadPanel uploadPanel,
UploadPolicy uploadPolicy)
- Creates a new instance.
- Parameters:
uploadPanel
- The corresponding upload panel.uploadPolicy
-
dragEnter
public void dragEnter(DropTargetDragEvent e)
- Specified by:
dragEnter
in interface DropTargetListener
- See Also:
DropTargetListener.dragEnter(java.awt.dnd.DropTargetDragEvent)
dragOver
public void dragOver(DropTargetDragEvent e)
- Specified by:
dragOver
in interface DropTargetListener
- See Also:
DropTargetListener.dragOver(java.awt.dnd.DropTargetDragEvent)
dropActionChanged
public void dropActionChanged(DropTargetDragEvent e)
- Specified by:
dropActionChanged
in interface DropTargetListener
- See Also:
DropTargetListener.dropActionChanged(java.awt.dnd.DropTargetDragEvent)
drop
public void drop(DropTargetDropEvent e)
- Specified by:
drop
in interface DropTargetListener
- See Also:
DropTargetListener.drop(java.awt.dnd.DropTargetDropEvent)
dragExit
public void dragExit(DropTargetEvent e)
- Specified by:
dragExit
in interface DropTargetListener
- See Also:
DropTargetListener.dragExit(java.awt.dnd.DropTargetEvent)