DropTargetpublic interface DropTarget Interface defining an object that can receive a drag. |
Methods Summary |
---|
public boolean | acceptDrop(DragSource source, int x, int y, int xOffset, int yOffset, java.lang.Object dragInfo)Indicates whether a drop action can occur at the specified location. The method
{@link #onDrop(DragSource, int, int, int, int, Object)} will be invoked on this
drop target only if this method returns true.
| public void | onDragEnter(DragSource source, int x, int y, int xOffset, int yOffset, java.lang.Object dragInfo)
| public void | onDragExit(DragSource source, int x, int y, int xOffset, int yOffset, java.lang.Object dragInfo)
| public void | onDragOver(DragSource source, int x, int y, int xOffset, int yOffset, java.lang.Object dragInfo)
| public void | onDrop(DragSource source, int x, int y, int xOffset, int yOffset, java.lang.Object dragInfo)Handle an object being dropped on the DropTarget
|
|