コード例 #1
0
ファイル: DragSource.java プロジェクト: feiwei9696/ae-awt
 /**
  * This method calls <code>dragEnter</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 processDragEnter(DragSourceDragEvent dsde) {
   DragSourceListener dsl = listener;
   if (dsl != null) {
     dsl.dragEnter(dsde);
   }
 }
コード例 #2
0
 public void dragEnter(DragSourceDragEvent dsde) {
   for (DragSourceListener element : listeners) {
     element.dragEnter(dsde);
   }
 }