软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.awt.dnd |
拖放是在许多图形用户界面系统中发现的一个直接的操作手势,它提供了一种机制,将两个实体之间的信息的逻辑与在图形用户界面中的表示元素关联。
|
Modifier and Type | Method and Description |
---|---|
DropTarget |
Component.getDropTarget()
获取与此相关的
DropTarget
Component 。
|
Modifier and Type | Method and Description |
---|---|
void |
Component.setDropTarget(DropTarget dt)
把一个
DropTarget 与此组件。
|
Modifier and Type | Method and Description |
---|---|
DropTarget |
DropTargetContext.getDropTarget()
此方法返回与此相关的
DropTarget
DropTargetContext 。
|
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.