1、 郑州轻工业学院 本科毕业设计(论文) 英文 翻译 题 目 ABOUT JDK API 学生姓名 张传美 专业班级 计算机科学与技术 07-2 学 号 200707010248 院 (系) 计算机与通信工程学院 指导教师(职称) 完成时间 2011 年 6 月 1 日 ABOUT JDK API 专业班级:计算机科学与技术 07 2 姓名:张传美 学号: 200707010248 1 英文原文 ABOUT JDK API Abstract Java Platform, Standard Edition 6 API Specification ,This document is the API
2、specification for version 6 of the Java Platform, Standard Edition. The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages. There is a Class Hierarchy page for all
3、packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object. Introduction Class/InterfaceEach class, interf
4、ace, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions: Class inheritance diagram,Direct Subclasses,All Known Subinterfaces,All Known Implementing Classes,C
5、lass/interface declaration,Class/interface description ,Nested Class Summary,Field Summary,Constructor Summary,Method Summary ,Field Detail,Constructor Detail,Method Detail.Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetica
6、l, while the detailed .descriptions are in the order they appear in the source code. This preserves .the logical groupings established by the programmer. 1 Class AbstractAction This class provides default implementations for the JFC Action interface. Standard behaviors like the get and set methods f
7、or Action object properties (icon, ABOUT JDK API 专业班级:计算机科学与技术 07 2 姓名:张传美 学号: 200707010248 2 text, and enabled) are defined here. The developer need only subclass this abstract class and define the actionPerformed method. Warning: Serialized objects of this class will not be compatible with future
8、Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. 2 Class AbstractButton Defines common behaviors
9、 for buttons and menu items.Buttons can be configured, and to some degree controlled, by Actions. Using an Action with a button has many benefits beyond directly configuring a button. Refer to Swing Components Supporting Action for more details, and you can find more information in How to Use Action
10、s, a section in The Java Tutorial. For further information see How to Use Buttons, Check Boxes, and Radio Buttons, a section in The Java Tutorial. Warning: Serialized objects of this class will not be compatible with futureSwing releases. The current serialization support is appropriate for shortter
11、m storage or RMI between applications running the same version of Swing. 3 Class AbstractDocument An implementation of the document interface to serve as a basis for implementing various kinds of documents. At this level there is very little policy, so there is a corresponding increase in difficulty
12、 of use. This class implements a locking mechanism for the document. It allows multiple readers or one writer, and writers must wait until all observers of the document have been notified of a previous change before beginning another mutation to the document. The read lock is acquired and released u
13、sing the render method. A write lock is aquired by the methods that mutate the document, and are held for the duration of the method call. Notification is done on the thread that produced the mutation, and the thread has full read access to the document for the duration of the notification, but other readers are kept out until the notification has finished. The notification is a beans event notification which does not allow any further mutations until all listeners have been notified. Any models