
 
    
    Called from 
DragSource, this constructor creates a new
 
DragSourceContext given the
 
DragSourceContextPeer for this Drag, the
 
DragGestureEvent that triggered the Drag, the initial
 
Cursor to use for the Drag, an (optional)
 
Image to display while the Drag is taking place, the offset
 of the 
Image origin from the hotspot at the instant of the
 triggering event, the 
Transferable subject data, and the 
 
DragSourceListener to use during the Drag and Drop
 operation.
 
    
        
 
        Called from 
DragSource, this constructor creates a new 
DragSourceContext given the 
DragSourceContextPeer for this Drag, the 
DragGestureEvent that triggered the Drag, the initial 
Cursor to use for the Drag, an (optional) 
Image to display while the Drag is taking place, the offset
 of the 
Image origin from the hotspot at the instant of the
 triggering event, the 
Transferable subject data, and the  
DragSourceListener to use during the Drag and Drop
 operation. 
 If 
DragSourceContextPeer is 
null NullPointerException is thrown. 
 If 
DragGestureEvent is 
null NullPointerException is thrown. 
 If 
Cursor is 
null no exception is thrown and
 the default drag cursor behavior is activated for this drag operation. 
 If 
Image is 
null no exception is thrown. 
 If 
Image is not 
null and the offset is 
null NullPointerException is thrown. 
 If 
Transferable is 
null NullPointerException is thrown. 
 If 
DragSourceListener is 
null no exception 
 is thrown.
        
        
Parameters:
 - 
dscp - the 
DragSourceContextPeer for this drag
 - 
trigger - the triggering event
 - 
dragCursor - the initial 
Cursor
 - 
dragImage - the 
Image to drag (or 
null)
 - 
offset - the offset of the image origin from the hotspot at the
                   instant of the triggering event
 - 
t - the 
Transferable
 - 
dsl - the 
DragSourceListener
Throws:
  - 
IllegalArgumentException - if the 
Component associated
         with the trigger event is 
null.
  - 
IllegalArgumentException - if the 
DragSource for the 
         trigger event is 
null.
  - 
IllegalArgumentException - if the drag action for the
         trigger event is 
DnDConstants.ACTION_NONE.
  - 
IllegalArgumentException - if the source actions for the
         
DragGestureRecognizer associated with the trigger
         event are equal to 
DnDConstants.ACTION_NONE.
  - 
NullPointerException - if dscp, trigger, or t are null, or
         if dragImage is non-null and offset is null