当前页面:
在线文档首页 >
JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档
Drag and Drop: Requirements - JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档
This specification is based upon an (incomplete) earlier work undertaken in 1996 to specify a Uniform Data Transfer Mechanism, Clipboard, and Drag and Drop facilities for AWT.
The AWT implementation in JDK1.1 introduced the Uniform Data Transfer Mechanism and the Clipboard protocol. This specification defines the API for the Drag and Drop facilities for the JavaTM 2 Platform based upon, but extending these 1.1 UDT API's.
The primary requirements that this specification addresses, are:
|
1. |
Provision of a platform independent Drag and Drop facility for Java GUI clients implemented through AWT and JFC classes. |
|
2. |
Integration with platform dependent Drag and Drop facilities, permitting Java clients to be able to participate in DnD operation with native applications using: |
-
OLE (Microsoft Windows) DnD
-
CDE/Motif dynamic protocol
-
MacOS
-
OS/2
|
3. |
Support for 100% pure JavaOS/Java implementation. |
|
4. |
Leverages the existing java.awt.datatransfer.* package to enable the transfer of |
data, described by an extensible data type system based on the MIME standard.
|
5. |
Does not preclude the use of "accessibility" features where available. |
|
6. |
Extensible to support diverse input devices. |
The specification derives from the previous work mentioned above, but incorporates significant differences from that original work as a result of the advent of the JavaBeans event model, Lightweight (JFC) Components, and an increasing understanding of the cross-platform integration and interoperability issues.
CONTENTS |
PREV
|
NEXT
Copyright © 1997, 1998 Sun Microsystems, Inc. All Rights Reserved.