|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.awt.dnd.DnDConstants
public final class DnDConstants
此类包含了表示 Drag 和 Drop 操作所执行的操作类型的常量值。
| 字段摘要 | |
|---|---|
static int |
ACTION_COPY
表示“复制”操作的 int 值。 |
static int |
ACTION_COPY_OR_MOVE
表示“复制”或“移动”操作的 int 值。 |
static int |
ACTION_LINK
表示“链接”操作的 int 值。 |
static int |
ACTION_MOVE
表示“移动”操作的 int 值。 |
static int |
ACTION_NONE
表示无操作的 int 值。 |
static int |
ACTION_REFERENCE
表示“引用”操作的 int 值(等同于 ACTION_LINK)。 |
| 方法摘要 |
|---|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
public static final int ACTION_NONE
int 值。
public static final int ACTION_COPY
int 值。
public static final int ACTION_MOVE
int 值。
public static final int ACTION_COPY_OR_MOVE
int 值。
public static final int ACTION_LINK
int 值。在很多平台(并非所有本机 DnD 平台)中都可找到动词链接,“链接”语义的实际解释是与平台和应用程序相关的。一般而言,该语义是“不复制或移动操作数,而是为其创建一个引用”。对“引用”含义的定义正是导致歧义的症结所在。出于完整性考虑才提供该动词,但是不建议将其用于逻辑上不同的应用程序之间的 DnD 操作,对操作语义的误解会导致用户混淆结果。
public static final int ACTION_REFERENCE
int 值(等同于 ACTION_LINK)。
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。