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 Modifier and Type 方法 描述 <T extends DragGestureRecognizer>
TToolkit. createDragGestureRecognizer(Class<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 Modifier and Type Field 描述 protected DragSourceDragGestureRecognizer. dragSource该DragSource与此DragGestureRecognizer相关联。Methods in java.awt.dnd that return DragSource Modifier and Type 方法 描述 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 Constructor 描述 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)构造新的MouseDragGestureRecognizer给予DragSource为Componentc和Component观察。MouseDragGestureRecognizer(DragSource ds, Component c, int act)构造一个新的MouseDragGestureRecognizer给出DragSource为Componentc,Component观察,并允许这个拖动操作的动作。MouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl)构造一个新的MouseDragGestureRecognizer给出DragSource的Componentc,Component观察,允许此拖动操作的动作,以及DragGestureListener在检测到拖动手势时通知。
-