コード例 #1
0
 /// <summary>
 /// Handles the <code>DragSourceDragEvent</code> by invoking
 /// <code>dropActionChanged</code> on listener-a and listener-b.
 /// </summary>
 /// <param name="dsde"> the <code>DragSourceDragEvent</code> </param>
 public virtual void DropActionChanged(DragSourceDragEvent dsde)
 {
     ((DragSourceListener)a).DropActionChanged(dsde);
     ((DragSourceListener)b).DropActionChanged(dsde);
 }
コード例 #2
0
 /// <summary>
 /// Handles the <code>DragSourceDragEvent</code> by invoking
 /// <code>dragOver</code> on listener-a and listener-b.
 /// </summary>
 /// <param name="dsde"> the <code>DragSourceDragEvent</code> </param>
 public virtual void DragOver(DragSourceDragEvent dsde)
 {
     ((DragSourceListener)a).DragOver(dsde);
     ((DragSourceListener)b).DragOver(dsde);
 }
コード例 #3
0
 /// <summary>
 /// Handles the <code>DragSourceDragEvent</code> by invoking
 /// <code>dragMouseMoved</code> on listener-a and listener-b.
 /// </summary>
 /// <param name="dsde"> the <code>DragSourceDragEvent</code> </param>
 public virtual void DragMouseMoved(DragSourceDragEvent dsde)
 {
     ((DragSourceMotionListener)a).DragMouseMoved(dsde);
     ((DragSourceMotionListener)b).DragMouseMoved(dsde);
 }
コード例 #4
0
 /// <summary>
 /// Called whenever the mouse is moved during a drag operation.
 /// </summary>
 /// <param name="dsde"> the <code>DragSourceDragEvent</code> </param>
 public virtual void DragMouseMoved(DragSourceDragEvent dsde)
 {
 }
コード例 #5
0
 /// <summary>
 /// Called as the cursor's hotspot moves over a platform-dependent drop site.
 /// This method is invoked when all the following conditions are true:
 /// <UL>
 /// <LI>The cursor's hotspot has moved, but still intersects the
 /// operable part of the drop site associated with the previous
 /// dragEnter() invocation.
 /// <LI>The drop site is still active.
 /// <LI>The drop site accepts the drag.
 /// </UL>
 /// </summary>
 /// <param name="dsde"> the <code>DragSourceDragEvent</code> </param>
 public virtual void DragOver(DragSourceDragEvent dsde)
 {
 }
コード例 #6
0
 /// <summary>
 /// Called when the user has modified the drop gesture.
 /// This method is invoked when the state of the input
 /// device(s) that the user is interacting with changes.
 /// Such devices are typically the mouse buttons or keyboard
 /// modifiers that the user is interacting with.
 /// </summary>
 /// <param name="dsde"> the <code>DragSourceDragEvent</code> </param>
 public virtual void DropActionChanged(DragSourceDragEvent dsde)
 {
 }