java.awt.dnd
public class DropTarget extends Object implements DropTargetListener, EventListener, Serializable
Since: 1.2
Nested Class Summary | |
---|---|
protected static class | DropTarget.DropTargetAutoScroller |
Constructor Summary | |
---|---|
DropTarget()
Creates a DropTarget object.
| |
DropTarget(Component c, DropTargetListener dtl)
Creates a DropTarget object.
| |
DropTarget(Component c, int i, DropTargetListener dtl)
Creates a DropTarget object.
| |
DropTarget(Component c, int i, DropTargetListener dtl, boolean b)
Creates a DropTarget object.
| |
DropTarget(Component c, int i, DropTargetListener dtl, boolean b, FlavorMap fm)
Creates a DropTarget object.
|
DropTarget
object.
Throws: HeadlessException If GraphicsEnvironment.isHeadless() returns true.
DropTarget
object.
Throws: HeadlessException If GraphicsEnvironment.isHeadless() returns true.
DropTarget
object.
Throws: HeadlessException If GraphicsEnvironment.isHeadless() returns true.
DropTarget
object.
Throws: HeadlessException If GraphicsEnvironment.isHeadless() returns true.
DropTarget
object.
Throws: HeadlessException If GraphicsEnvironment.isHeadless() returns true.
DropTargetListener
.
Throws: TooManyListenersException Sun's JDK does not, despite
documentation, throw this exception here when you install an additional
DropTargetListener
. So to be compatible, we do the same
thing.