Other |
---|
5.0 tigerFixed |
Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
Name: sdC67446 Date: 03/27/98 The specification for ctor java.awt.dnd.DragSourceDragEvent(DragSourceContext, int dropActions, int actions, int modifiers) does not specify behavior for argument 'dropActions' and 'actions' when they are invalid. Currently ctor ingnores invalid values. More acceptable behavior for all invalid actions here is to throw IllegalArgumentException unless otherwise specified. The same obscurity exists in ctors DragSourceDropEvent(DragSourceContext, int action), TargetDragEvent(DropTargetContext, Point, int dropAction, int srcAction), DropTargetDropEvent(DropTargetContext, Point, int dropAction, int srcActions) as well. Here is what doc says: -------------------------------------------------- ublic DragSourceDragEvent(DragSourceContext dsc, int dropAction, int actions, int modifiers) construct a DragSourceEvent -------------------------------------------------- ======================================================================
|