| 软件包 | 描述 | 
|---|---|
| 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是通过DropTargetListenerdrop()方法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.