软件包 | 描述 |
---|---|
java.awt.dnd |
拖放是在许多图形用户界面系统中发现的一个直接的操作手势,它提供了一种机制,将两个实体之间的信息的逻辑与在图形用户界面中的表示元素关联。
|
Modifier and Type | Class and Description |
---|---|
class |
DragSourceAdapter
用于接收拖动源事件的抽象适配器类。
|
class |
DragSourceContext
的
DragSourceContext 类负责管理引发一侧的拖放协议。
|
Modifier and Type | Method and Description |
---|---|
DragSourceMotionListener[] |
DragSource.getDragSourceMotionListeners()
得到所有的
DragSourceMotionListener s注册这个
DragSource 。
|
Modifier and Type | Method and Description |
---|---|
void |
DragSource.addDragSourceMotionListener(DragSourceMotionListener dsml)
增加了
DragSource 指定
DragSourceMotionListener 收到阻力运动事件在拖动操作,这
DragSource 。
|
void |
DragSource.removeDragSourceMotionListener(DragSourceMotionListener dsml)
从这个
DragSource 移除指定的
DragSourceMotionListener 。
|
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.