Uses of Interface
java.awt.dnd.DragGestureListener
-
Packages that use DragGestureListener 软件包 描述 java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.dnd 拖放是在许多图形用户界面系统中发现的直接操纵手势,它提供了一种在逻辑上与GUI中的表示元素相关联的实体之间传递信息的机制。 -
-
Uses of DragGestureListener in java.awt
Methods in java.awt with parameters of type DragGestureListener 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 DragGestureListener in java.awt.dnd
Fields in java.awt.dnd declared as DragGestureListener Modifier and Type Field 描述 protected DragGestureListener
DragGestureRecognizer. dragGestureListener
该DragGestureListener
与此DragGestureRecognizer
相关联。Methods in java.awt.dnd with parameters of type DragGestureListener Modifier and Type 方法 描述 void
DragGestureRecognizer. addDragGestureListener(DragGestureListener dgl)
注册新的DragGestureListener
。DragGestureRecognizer
DragSource. createDefaultDragGestureRecognizer(Component c, int actions, DragGestureListener dgl)
创建一个新的DragGestureRecognizer
实现的默认抽象子类DragGestureRecognizer
这个DragSource
,并设置指定Component
和DragGestureListener
新创建的对象上。<T extends DragGestureRecognizer>
TDragSource. createDragGestureRecognizer(Class<T> recognizerAbstractClass, Component c, int actions, DragGestureListener dgl)
创建一个新的DragGestureRecognizer
,实现指定的抽象子类为DragGestureRecognizer
,并在新创建的对象上设置指定的Component
和DragGestureListener
。void
DragGestureRecognizer. removeDragGestureListener(DragGestureListener dgl)
取消注册当前的DragGestureListenerConstructors in java.awt.dnd with parameters of type DragGestureListener Constructor 描述 DragGestureRecognizer(DragSource ds, Component c, int sa, DragGestureListener dgl)
构造一个新的DragGestureRecognizer
给定DragSource
将用于此拖放操作,Component
这DragGestureRecognizer
应该“观察”拖动启动手势,这个拖放操作支持的动作,以及DragGestureListener
通知一次已经检测到拖动启动手势。MouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl)
构造一个新的MouseDragGestureRecognizer
给予DragSource
为Component
c,Component
观察,这个拖动操作允许的动作,以及DragGestureListener
通知何时检测到拖动手势。
-