软件包 | 描述 |
---|---|
java.awt.dnd |
拖放是在许多图形用户界面系统中发现的一个直接的操作手势,它提供了一种机制,将两个实体之间的信息的逻辑与在图形用户界面中的表示元素关联。
|
Modifier and Type | Field and Description |
---|---|
protected DropTargetContext |
DropTargetEvent.context
与此相关的
DropTargetContext
DropTargetEvent 。
|
Modifier and Type | Method and Description |
---|---|
protected DropTargetContext |
DropTarget.createDropTargetContext()
与此相关的droptargetcontext droptarget创造。
|
DropTargetContext |
DropTarget.getDropTargetContext()
获取与此相关的
DropTargetContext
DropTarget 。
|
DropTargetContext |
DropTargetEvent.getDropTargetContext()
此方法返回与此相关的
DropTargetContext
DropTargetEvent 。
|
Constructor and Description |
---|
DropTargetDragEvent(DropTargetContext dtc, Point cursorLocn, int dropAction, int srcActions)
构建一个
DropTargetDragEvent 鉴于此操作的
DropTargetContext ,在
Component 坐标的“拖”
Cursor 热点的位置,用户滴行动,和源滴行动。
|
DropTargetDropEvent(DropTargetContext dtc, Point cursorLocn, int dropAction, int srcActions)
构建一个
DropTargetDropEvent 给出了此操作的
DropTargetContext ,拖
Cursor 热点在
Component 的坐标位置,当前选定的用户下降的动作,并由源支持行动的当前设置。
|
DropTargetDropEvent(DropTargetContext dtc, Point cursorLocn, int dropAction, int srcActions, boolean isLocal)
构建一个
DropTargetEvent 给出了此操作的
DropTargetContext ,拖
Cursor 热点在
Component 的坐标位置,当前选定的用户下降动作,由源支持行动的当前设置,和
boolean 表示如果源是相同的JVM为目标。
|
DropTargetEvent(DropTargetContext dtc)
构建一个
DropTargetEvent 对象指定的
DropTargetContext 。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.