-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
1.2.1
-
sparc
-
solaris_2.5.1
Name: sdC67446 Date: 03/11/99
The doc for DropTarget says nothing about the ctors/methods' behavior:
public DropTarget(Component c,
int ops,
DropTargetListener dtl,
boolean act,
FlavorMap fm)
public DropTarget(Component c,
int ops,
DropTargetListener dtl,
boolean act)
public DropTarget(Component c,
DropTargetListener dtl)
public DropTarget(Component c,
int ops,
DropTargetListener dtl)
public void addDropTargetListener(DropTargetListener dtl)
public void removeDropTargetListener(DropTargetListener dtl)
if input parameters == null. Also the valid range for int parameters is
unspecified.
The doc says:
________
public DropTarget(Component c,
int ops,
DropTargetListener dtl,
boolean act,
FlavorMap fm)
Construct a new DropTarget given the Component to associate
itself with, an int representing the default acceptable
action(s) to support, a DropTargetListener to handle event
processing, a boolean indicating if the DropTarget is currently
accepting drops, and a FlavorMap to use (or null).
Parameters:
c - The Component with which this DropTarget is associated
ops - The default acceptable actions for this DropTarget
dtl - The DropTargetListener for this DropTarget
act - Is the DropTarget accepting drops.
fm - The FlavorMap to use or null
public void addDropTargetListener(DropTargetListener dtl)
throws TooManyListenersException
Add a new DropTargetListener (UNICAST SOURCE)
Parameters:
dtl - The new DropTargetListener
Throws:
TooManyListenersException - if a DropTargetListener is
already added to this DropTarget.
public void removeDropTargetListener(DropTargetListener dtl)
Remove the current DropTargetListener (UNICAST SOURCE)
Parameters:
dtl - the DropTargetListener to deregister.
________
======================================================================
The doc for DropTarget says nothing about the ctors/methods' behavior:
public DropTarget(Component c,
int ops,
DropTargetListener dtl,
boolean act,
FlavorMap fm)
public DropTarget(Component c,
int ops,
DropTargetListener dtl,
boolean act)
public DropTarget(Component c,
DropTargetListener dtl)
public DropTarget(Component c,
int ops,
DropTargetListener dtl)
public void addDropTargetListener(DropTargetListener dtl)
public void removeDropTargetListener(DropTargetListener dtl)
if input parameters == null. Also the valid range for int parameters is
unspecified.
The doc says:
________
public DropTarget(Component c,
int ops,
DropTargetListener dtl,
boolean act,
FlavorMap fm)
Construct a new DropTarget given the Component to associate
itself with, an int representing the default acceptable
action(s) to support, a DropTargetListener to handle event
processing, a boolean indicating if the DropTarget is currently
accepting drops, and a FlavorMap to use (or null).
Parameters:
c - The Component with which this DropTarget is associated
ops - The default acceptable actions for this DropTarget
dtl - The DropTargetListener for this DropTarget
act - Is the DropTarget accepting drops.
fm - The FlavorMap to use or null
public void addDropTargetListener(DropTargetListener dtl)
throws TooManyListenersException
Add a new DropTargetListener (UNICAST SOURCE)
Parameters:
dtl - The new DropTargetListener
Throws:
TooManyListenersException - if a DropTargetListener is
already added to this DropTarget.
public void removeDropTargetListener(DropTargetListener dtl)
Remove the current DropTargetListener (UNICAST SOURCE)
Parameters:
dtl - the DropTargetListener to deregister.
________
======================================================================