|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.dnd.DropTargetAdapter
public abstract class DropTargetAdapter
This class implements DropTargetListener, and implements all methods
with empty bodies. This allows a listener interested in implementing only
a subset of these interfaces to extend this class and override only the
desired methods.
| Constructor Summary | |
|---|---|
DropTargetAdapter()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
dragEnter(DropTargetDragEvent e)
Called when the cursor hotspot enters a drop site which will accept the drag. |
void |
dragExit(DropTargetEvent e)
Called when the cursor hotspot moves outside of a drop site which will accept the drag. |
void |
dragOver(DropTargetDragEvent e)
Called when the cursor hotspot moves inside of a drop site which will accept the drag. |
void |
dropActionChanged(DropTargetDragEvent e)
Called when the user modifies the drop gesture. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.awt.dnd.DropTargetListener |
|---|
drop |
| Constructor Detail |
|---|
public DropTargetAdapter()
| Method Detail |
|---|
public void dragEnter(DropTargetDragEvent e)
dragEnter in interface DropTargetListenere - the eventpublic void dragOver(DropTargetDragEvent e)
dragOver in interface DropTargetListenere - the eventpublic void dropActionChanged(DropTargetDragEvent e)
dropActionChanged in interface DropTargetListenere - the eventpublic void dragExit(DropTargetEvent e)
dragExit in interface DropTargetListenere - the event
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||