public interface DragGestureListener extends EventListener
DragGestureRecognizer
有关如何登记侦听器接口。在识别手势的拖累
DragGestureRecognizer
调用该接口的方法,通过
DragGestureEvent
dragGestureRecognized()
。
Modifier and Type | Method and Description |
---|---|
void |
dragGestureRecognized(DragGestureEvent dge)
这种方法是通过对
DragGestureRecognizer 当
DragGestureRecognizer 检测平台依赖拖启动手势。
|
void dragGestureRecognized(DragGestureEvent dge)
DragGestureRecognizer
当
DragGestureRecognizer
检测平台依赖拖启动手势。如果适当的启动拖放操作,,
startDrag()
方法对
DragGestureEvent
必须调用。
dge
描述手势,刚刚发生的
DragGestureEvent
DragGestureRecognizer
,
DragGestureEvent
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.