| 
 | JavaTM 2 Platform Standard Ed. 6 | |||||||||
| 上一個 下一個 | 框架 無框架 | |||||||||
| 使用 DragSourceMotionListener 的軟體套件 | |
|---|---|
| java.awt.dnd | Drag 和 Drop 是一種直接操作動作,在許多圖形使用者介面系統中都會遇到它,它提供了一種機制,能夠在兩個與 GUI 中顯示元素邏輯相關的實體之間傳輸資訊。 | 
| java.awt.dnd 中 DragSourceMotionListener 的使用 | 
|---|
| 實作 DragSourceMotionListener 的 java.awt.dnd 中的類別 | |
|---|---|
|  class | DragSourceAdapter用於接收拖動源事件的抽象適配器類別。 | 
|  class | DragSourceContextDragSourceContext類別負責管理 Drag 和 Drop 協議的起始端。 | 
| 返回 DragSourceMotionListener 的 java.awt.dnd 中的方法 | |
|---|---|
|  DragSourceMotionListener[] | DragSource.getDragSourceMotionListeners()獲得向此 DragSource註冊的所有DragSourceMotionListener。 | 
| 參數型別為 DragSourceMotionListener 的 java.awt.dnd 中的方法 | |
|---|---|
|  void | DragSource.addDragSourceMotionListener(DragSourceMotionListener dsml)將指定的 DragSourceMotionListener添加到此DragSource,以接收在使用此DragSource所發起的拖動操作期間出現的拖動移動事件。 | 
|  void | DragSource.removeDragSourceMotionListener(DragSourceMotionListener dsml)從此 DragSource移除指定的DragSourceMotionListener。 | 
| 
 | JavaTM 2 Platform Standard Ed. 6 | |||||||||
| 上一個 下一個 | 框架 無框架 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。