public interface DragGestureListener extends EventListener
DragGestureRecognizer
关于如何注册监听器接口的详细信息。
当识别拖拽手势的DragGestureRecognizer
调用这个接口的dragGestureRecognized()
方法并传递一个DragGestureEvent
。
DragGestureRecognizer
, DragGestureEvent
, DragSource
Modifier and Type | Method and Description |
---|---|
void |
dragGestureRecognized(DragGestureEvent dge)
DragGestureRecognizer 当
DragGestureRecognizer 检测到与平台相关的拖动启动手势时,此方法被调用。
|
void dragGestureRecognized(DragGestureEvent dge)
DragGestureRecognizer
当DragGestureRecognizer
检测到与平台相关的拖动启动手势时,此方法被调用。
要启动拖放操作,如果适用,必须调用DragGestureEvent上的DragGestureEvent
方法。
dge
-
DragGestureEvent
刚刚发生的手势的
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.