public class AWTDropTargetEventDispatcher extends Object implements DropTargetListener
DropTargetEvent
s as ImageJ DragAndDropEvent
s.Constructor and Description |
---|
AWTDropTargetEventDispatcher(Display<?> display,
EventService eventService)
Creates an AWT drag-and-drop event dispatcher for the given display.
|
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) |
void |
register(Component c) |
public AWTDropTargetEventDispatcher(Display<?> display, EventService eventService)
public void register(Component c)
public void dragEnter(DropTargetDragEvent e)
dragEnter
in interface DropTargetListener
public void dragOver(DropTargetDragEvent e)
dragOver
in interface DropTargetListener
public void dropActionChanged(DropTargetDragEvent e)
dropActionChanged
in interface DropTargetListener
public void dragExit(DropTargetEvent e)
dragExit
in interface DropTargetListener
public void drop(DropTargetDropEvent e)
drop
in interface DropTargetListener
Copyright © 2015–2022 SciJava. All rights reserved.