Ejemplo n.º 1
0
 /**
  * This method calls <code>dragDropEnd</code> on the <code>DragSourceListener</code>s registered
  * with this <code>DragSource</code>, and passes them the specified <code>DragSourceDropEvent
  * </code>.
  *
  * @param dsde the <code>DragSourceEvent</code>
  */
 void processDragDropEnd(DragSourceDropEvent dsde) {
   DragSourceListener dsl = listener;
   if (dsl != null) {
     dsl.dragDropEnd(dsde);
   }
 }
Ejemplo n.º 2
0
 /**
  * This method calls <code>dropActionChanged</code> on the <code>DragSourceListener</code>s
  * registered with this <code>DragSource</code>, and passes them the specified <code>
  * DragSourceDragEvent</code>.
  *
  * @param dsde the <code>DragSourceDragEvent</code>
  */
 void processDropActionChanged(DragSourceDragEvent dsde) {
   DragSourceListener dsl = listener;
   if (dsl != null) {
     dsl.dropActionChanged(dsde);
   }
 }
Ejemplo n.º 3
0
 /**
  * This method calls <code>dragExit</code> on the <code>DragSourceListener</code>s registered with
  * this <code>DragSource</code>, and passes them the specified <code>DragSourceEvent</code>.
  *
  * @param dse the <code>DragSourceEvent</code>
  */
 void processDragExit(DragSourceEvent dse) {
   DragSourceListener dsl = listener;
   if (dsl != null) {
     dsl.dragExit(dse);
   }
 }
Ejemplo n.º 4
0
 /**
  * This method calls <code>dragOver</code> on the <code>DragSourceListener</code>s registered with
  * this <code>DragSource</code>, and passes them the specified <code>DragSourceDragEvent</code>.
  *
  * @param dsde the <code>DragSourceDragEvent</code>
  */
 void processDragOver(DragSourceDragEvent dsde) {
   DragSourceListener dsl = listener;
   if (dsl != null) {
     dsl.dragOver(dsde);
   }
 }
 public void dragEnter(DragSourceDragEvent dsde) {
   for (DragSourceListener element : listeners) {
     element.dragEnter(dsde);
   }
 }
 public void dropActionChanged(DragSourceDragEvent dsde) {
   for (DragSourceListener element : listeners) {
     element.dropActionChanged(dsde);
   }
 }
 public void dragDropEnd(DragSourceDropEvent dsde) {
   for (DragSourceListener element : listeners) {
     element.dragDropEnd(dsde);
   }
 }
 public void dragExit(DragSourceEvent dsde) {
   for (DragSourceListener element : listeners) {
     element.dragExit(dsde);
   }
 }