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.