wt.clients.dnd
Class SimpleFileDropListener
java.lang.Object
wt.clients.dnd.SimpleFileDropListener
- All Implemented Interfaces:
- DropTargetListener, EventListener
public class SimpleFileDropListener
- extends Object
- implements DropTargetListener
A simple DropListener that listens for file drag-overs and drops and
signals drag-over state and file processing handlers accordingly. See
setDragStateListener() and setFileHandler().
Supported API: true
Extendable: false
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
register
public static final void register(Component component,
SimpleDragStateListener dragStateListener,
FileHandler fileHandler)
- Create a new instance of this class with the given callbacks and register
this new instance with the given component.
Supported API: true
- Parameters:
component - the component the drop listener is to be attached todragStateListener - callback for drag over state changesfileHandler - file processing callback