public interface DragSourceMotionListener extends EventListener
课堂,是处理鼠标移动事件感兴趣的拖动操作在实现这个接口或抽象类延伸DragSourceAdapter
(只覆盖方法的兴趣)。
使用该类,然后用DragSource
登记它创建一个侦听器对象,当鼠标在拖动操作期间发起的这DragSource
,对象的dragMouseMoved
方法被调用时,与DragSourceDragEvent
传递给它。
DragSourceDragEvent
,
DragSource
,
DragSourceListener
,
DragSourceAdapter
Modifier and Type | Method and Description |
---|---|
void |
dragMouseMoved(DragSourceDragEvent dsde)
调用鼠标在拖动操作期间移动的时候调用。
|
void dragMouseMoved(DragSourceDragEvent dsde)
dsde
-
DragSourceDragEvent
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.