コード例 #1
0
ファイル: DragSource.java プロジェクト: feiwei9696/ae-awt
 /**
  * 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);
   }
 }
コード例 #2
0
 public void dragDropEnd(DragSourceDropEvent dsde) {
   for (DragSourceListener element : listeners) {
     element.dragDropEnd(dsde);
   }
 }