/** * 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); } }
/** * 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); } }
/** * 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); } }
/** * 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); } }