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 DragSource
DragGestureRecognizer. dragSource
该DragSource
与此DragGestureRecognizer
相关联。Methods in java.awt.dnd that return DragSource Modifier and Type 方法 描述 static DragSource
DragSource. getDefaultDragSource()
获取与底层平台相关联的DragSource
对象。DragSource
DragGestureEvent. getDragSource()
返回DragSource
。DragSource
DragGestureRecognizer. getDragSource()
此方法返回DragSource
这个DragGestureRecognizer
将会使用为了处理拖放操作。DragSource
DragSourceContext. 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
为Component
c和Component
观察。MouseDragGestureRecognizer(DragSource ds, Component c, int act)
构造一个新的MouseDragGestureRecognizer
给出DragSource
为Component
c,Component
观察,并允许这个拖动操作的动作。MouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl)
构造一个新的MouseDragGestureRecognizer
给出DragSource
的Component
c,Component
观察,允许此拖动操作的动作,以及DragGestureListener
在检测到拖动手势时通知。
-