| 软件包 | 描述 |
|---|---|
| java.awt |
包含用于创建用户界面和绘制图形和图像的所有类。
|
| java.awt.dnd |
拖放是在许多图形用户界面系统中发现的直接操纵手势,它提供了一种在逻辑上与GUI中的表示元素相关联的实体之间传递信息的机制。
|
| Class and Description |
|---|
| DragGestureEvent
甲
DragGestureEvent被传递给
DragGestureListener的dragGestureRecognized()方法时的具体
DragGestureRecognizer检测已经发生在一个平台相关的拖动启动手势
Component它正在跟踪。
|
| DragGestureListener
用于接收拖动手势事件的侦听器界面。
|
DragGestureRecognizer
DragGestureRecognizer是一个用于规范平台相关侦听器的抽象基类,可以与特定的Component相关
Component ,以便识别平台相关的拖动启动手势。
|
DragSource
DragSource是
DragSource操作的实体,可用于多种情况:在该JVM的生命周期中,每个JVM使用1个默认实例。
|
| DropTarget
该
DropTarget与相关
Component时
Component希望接受拖放操作期间下降。
|
| InvalidDnDOperationException
java.awt.dnd包中的各种方法抛出此异常。
|
| Class and Description |
|---|
| DragGestureEvent
当特定的
DragGestureRecognizer检测到正在跟踪的
Component上发生平台相关的拖动启动手势时,
DragGestureEvent被传递给
DragGestureListener的dragGestureRecognized()方法。
|
| DragGestureListener
用于接收拖动手势事件的侦听器界面。
|
DragGestureRecognizer
DragGestureRecognizer是一个用于规范平台相关侦听器的抽象基类,可以与特定的Component相关
Component ,以便识别平台相关的拖动启动手势。
|
DragSource
DragSource是
DragSource操作的实体,可用于多种情况:该JVM的生命周期为每个JVM使用1个默认实例。
|
DragSourceContext
DragSourceContext类负责管理拖放协议的发起方。
|
| DragSourceDragEvent
该
DragSourceDragEvent从交付
DragSourceContextPeer ,通过
DragSourceContext ,到
DragSourceListener与注册
DragSourceContext和与其相关
DragSource 。
|
| DragSourceDropEvent
所述
DragSourceDropEvent被从递送
DragSourceContextPeer ,经由
DragSourceContext到
dragDropEnd的方法
DragSourceListener与注册小号
DragSourceContext和与其相关联的
DragSource 。
|
| DragSourceEvent
这个类是
DragSourceDragEvent和
DragSourceDropEvent的基类。
|
DragSourceListener
DragSourceListener定义了用于跟踪用户手势状态的拖放操作的
DragSourceListener的事件接口,并在拖放操作中为用户提供适当的“拖拽”反馈。
|
| DragSourceMotionListener
用于在拖动操作期间接收鼠标运动事件的侦听器界面。
|
| DropTarget
该
DropTarget与相关
Component时
Component希望接受拖放操作期间下降。
|
| DropTarget.DropTargetAutoScroller
这个受保护的嵌套类实现自动滚动
|
| DropTargetContext
甲
DropTargetContext每当用拖放操作相关联的逻辑光标用的可见几何一致创建
Component与相关联的
DropTarget 。
|
| DropTargetDragEvent
所述
DropTargetDragEvent被输送到
DropTargetListener经由其dragEnter事件()和的dragover()方法。
|
DropTargetDropEvent
DropTargetDropEvent是通过
DropTargetListener drop()方法
DropTargetListener 。
|
DropTargetEvent
DropTargetEvent是
DropTargetDragEvent和
DropTargetDropEvent的基础类。
|
DropTargetListener
DropTargetListener接口是由
DropTarget类用于提供涉及主题
DropTarget的DnD操作通知的回调
DropTarget 。
|
| InvalidDnDOperationException
java.awt.dnd包中的各种方法抛出此异常。
|
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.