Showing the changes to java/pkg/java/awt/package.html (1 of 18352 files). Show all
Unified · Split
| @@ -0,0 +1,82 @@ | |||
| 1 | <!-- | ||
| 2 | Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved. | ||
| 3 | DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | ||
| 4 | |||
| 5 | This code is free software; you can redistribute it and/or modify it | ||
| 6 | under the terms of the GNU General Public License version 2 only, as | ||
| 7 | published by the Free Software Foundation. Oracle designates this | ||
| 8 | particular file as subject to the "Classpath" exception as provided | ||
| 9 | by Oracle in the LICENSE file that accompanied this code. | ||
| 10 | |||
| 11 | This code is distributed in the hope that it will be useful, but WITHOUT | ||
| 12 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 13 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
| 14 | version 2 for more details (a copy is included in the LICENSE file that | ||
| 15 | accompanied this code). | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License version | ||
| 18 | 2 along with this work; if not, write to the Free Software Foundation, | ||
| 19 | Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | ||
| 20 | |||
| 21 | Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | ||
| 22 | or visit www.oracle.com if you need additional information or have any | ||
| 23 | questions. | ||
| 24 | --> | ||
| 25 | |||
| 26 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> | ||
| 27 | <html> | ||
| 28 | <body bgcolor="white"> | ||
| 29 | |||
| 30 | Contains all of the classes for creating user | ||
| 31 | interfaces and for painting graphics and images. A user interface object such as a button or a | ||
| 32 | scrollbar is called, in AWT terminology, a component. The Component class is the root of all | ||
| 33 | AWT components. See Component for a detailed description of properties that all AWT | ||
| 34 | components share. | ||
| 35 | <p> | ||
| 36 | Some components fire events when a user interacts with the components. The AWTEvent | ||
| 37 | class and its subclasses are used to represent the events that AWT components can fire. See | ||
| 38 | AWTEvent for a description of the AWT event model. | ||
| 39 | <p> | ||
| 40 | A container is a component that can contain components and other containers. A con | ||
| 41 | tainer can also have a layout manager that controls the visual placement of components in the | ||
| 42 | container. The AWT package contains several layout manager classes and an interface for | ||
| 43 | building your own layout manager. See Container and LayoutManager for more information. | ||
| 44 | <p> | ||
| 45 | Each {@code Component} object is limited in its maximum size and | ||
| 46 | its location because the values are stored as an integer. | ||
| 47 | Also, a platform may further restrict maximum size and location | ||
| 48 | coordinates. The exact maximum values are dependent on the platform. | ||
| 49 | There is no way to change these maximum values, either in Java | ||
| 50 | code or in native code. | ||
| 51 | These limitations also impose restrictions on component layout. | ||
| 52 | If the bounds of a Component object exceed a platform limit, | ||
| 53 | there is no way to properly arrange them within a Container object. | ||
| 54 | The object's bounds are defined by any object's coordinate | ||
| 55 | in combination with its size on a respective axis. | ||
| 56 | <p> | ||
| 57 | |||
| 58 | <h2>Additional Specification</h2> | ||
| 59 | <ul> | ||
| 60 | <li><a href="doc-files/FocusSpec.html">The AWT Focus Subsystem</a> | ||
| 61 | <li><a href="doc-files/Modality.html">The AWT Modality</a> | ||
| 62 | </ul> | ||
| 63 | |||
| 64 | <!-- | ||
| 65 | <h2>Package Specification</h2> | ||
| 66 | |||
| 67 | ##### FILL IN ANY SPECS NEEDED BY JAVA COMPATIBILITY KIT ##### | ||
| 68 | <ul> | ||
| 69 | <li><a href="">##### REFER TO ANY FRAMEMAKER SPECIFICATION HERE #####</a> | ||
| 70 | </ul> | ||
| 71 | |||
| 72 | <h2>Related Documentation</h2> | ||
| 73 | |||
| 74 | For overviews, tutorials, examples, guides, and tool documentation, please see: | ||
| 75 | <ul> | ||
| 76 | <li><a href="">##### REFER TO NON-SPEC DOCUMENTATION HERE #####</a> | ||
| 77 | </ul> | ||
| 78 | --> | ||
| 79 | |||
| 80 | @since JDK1.0 | ||
| 81 | </body> | ||
| 82 | </html> | ||