public class DnDListener extends Object implements DropTargetListener
Constructor and Description |
---|
DnDListener(JUploadPanel uploadPanel,
UploadPolicy uploadPolicy)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
dragEnter(DropTargetDragEvent e) |
void |
dragExit(DropTargetEvent e) |
void |
dragOver(DropTargetDragEvent e) |
void |
drop(DropTargetDropEvent e) |
void |
dropActionChanged(DropTargetDragEvent e) |
public DnDListener(JUploadPanel uploadPanel, UploadPolicy uploadPolicy)
uploadPanel
- The corresponding upload panel.uploadPolicy
- public void dragEnter(DropTargetDragEvent e)
dragEnter
in interface DropTargetListener
DropTargetListener.dragEnter(java.awt.dnd.DropTargetDragEvent)
public void dragOver(DropTargetDragEvent e)
dragOver
in interface DropTargetListener
DropTargetListener.dragOver(java.awt.dnd.DropTargetDragEvent)
public void dropActionChanged(DropTargetDragEvent e)
dropActionChanged
in interface DropTargetListener
DropTargetListener.dropActionChanged(java.awt.dnd.DropTargetDragEvent)
public void drop(DropTargetDropEvent e)
drop
in interface DropTargetListener
DropTargetListener.drop(java.awt.dnd.DropTargetDropEvent)
public void dragExit(DropTargetEvent e)
dragExit
in interface DropTargetListener
DropTargetListener.dragExit(java.awt.dnd.DropTargetEvent)
Copyright © 2015. All rights reserved.