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