Uses of Class
java.awt.dnd.DragGestureRecognizer
-
Packages that use DragGestureRecognizer 软件包 描述 java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.dnd 拖放是在许多图形用户界面系统中发现的直接操纵手势,它提供了一种在逻辑上与GUI中的表示元素相关联的实体之间传递信息的机制。 -
-
Uses of DragGestureRecognizer in java.awt
Methods in java.awt with type parameters of type DragGestureRecognizer 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 DragGestureRecognizer in java.awt.dnd
Subclasses of DragGestureRecognizer in java.awt.dnd Modifier and Type Class 描述 class
MouseDragGestureRecognizer
DragGestureRecognizer
这个抽象子类定义了一个基于鼠标的手势的DragGestureRecognizer
。Methods in java.awt.dnd with type parameters of type DragGestureRecognizer Modifier and Type 方法 描述 <T extends DragGestureRecognizer>
TDragSource. createDragGestureRecognizer(Class<T> recognizerAbstractClass, Component c, int actions, DragGestureListener dgl)
创建一个新的DragGestureRecognizer
,实现指定的抽象子类DragGestureRecognizer
,并在新创建的对象上设置指定的Component
和DragGestureListener
。Methods in java.awt.dnd that return DragGestureRecognizer Modifier and Type 方法 描述 DragGestureRecognizer
DragSource. createDefaultDragGestureRecognizer(Component c, int actions, DragGestureListener dgl)
创建一个新的DragGestureRecognizer
实现的默认抽象子类DragGestureRecognizer
这个DragSource
,并设置指定Component
和DragGestureListener
新创建的对象上。DragGestureRecognizer
DragGestureEvent. getSourceAsDragGestureRecognizer()
返回源为DragGestureRecognizer
。Constructors in java.awt.dnd with parameters of type DragGestureRecognizer Constructor 描述 DragGestureEvent(DragGestureRecognizer dgr, int act, Point ori, List<? extends InputEvent> evs)
构造一个DragGestureEvent
由给定对象DragGestureRecognizer
实例激发此事件中,act
表示用户的首选操作参数,一个ori
参数指示拖动原点,和一个List
组成动作(事件evs
参数)。
-