Uses of Class
java.awt.dnd.DragSource
-
Packages that use DragSource 软件包 描述 java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.dnd 拖放是在许多图形用户界面系统中发现的直接操纵手势,其提供了在GUI中与表示元素逻辑相关联的两个实体之间传递信息的机制。 -
-
Uses of DragSource in java.awt
Methods in java.awt with parameters of type DragSource 变量和类型 方法 描述 <T extends DragGestureRecognizer>
TToolkit. createDragGestureRecognizer(类<T> abstractRecognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl)创建请求的抽象DragGestureRecognizer类的具体的,平台相关的子类,并将其与指定的DragSource,Component和DragGestureListener相关联。 -
Uses of DragSource in java.awt.dnd
Fields in java.awt.dnd declared as DragSource 变量和类型 字段 描述 protected DragSourceDragGestureRecognizer. dragSourceDragSource与此DragGestureRecognizer相关联。Methods in java.awt.dnd that return DragSource 变量和类型 方法 描述 static DragSourceDragSource. getDefaultDragSource()获取与底层平台关联的DragSource对象。DragSourceDragGestureEvent. getDragSource()返回DragSource。DragSourceDragGestureRecognizer. getDragSource()此方法返回DragSource此DragGestureRecognizer将使用以便处理拖放操作。DragSourceDragSourceContext. getDragSource()返回DragSource认为这个实例DragSourceContext。Constructors in java.awt.dnd with parameters of type DragSource 构造器 描述 DragGestureRecognizer(DragSource ds)构造一个新的DragGestureRecognizer给出的DragSource这个拖放操作中使用。DragGestureRecognizer(DragSource ds, Component c)构造一个新的DragGestureRecognizer给出的DragSource这个拖放操作中使用,并且Component这个DragGestureRecognizer应该“观察”拖动开始动作。DragGestureRecognizer(DragSource ds, Component c, int sa)构造一个新的DragGestureRecognizer给定DragSource用于此拖放操作,Component这个DragGestureRecognizer应该“观察”拖动启动手势,以及支持此拖放操作的动作。DragGestureRecognizer(DragSource ds, Component c, int sa, DragGestureListener dgl)构造一个新的DragGestureRecognizer给定DragSource用于此拖放操作,Component这个DragGestureRecognizer应该“观察”拖动启动手势,支持此拖放操作的动作,以及DragGestureListener通知一次已检测到拖动启动手势。MouseDragGestureRecognizer(DragSource ds)为MouseDragGestureRecognizer提供DragSource,构建新的Component。MouseDragGestureRecognizer(DragSource ds, Component c)给出DragSource为Componentc和Component进行观察,构建新的MouseDragGestureRecognizer。MouseDragGestureRecognizer(DragSource ds, Component c, int act)构造一个新的MouseDragGestureRecognizer给出DragSource为Componentc时,Component观察和行动(S)允许此拖动操作。MouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl)给出DragSource(Componentc),Component)以及允许进行此拖动操作的动作,以及DragGestureListener在检测到拖动手势时通知,构造新的MouseDragGestureRecognizer。
-