jdk/src/java.desktop/share/classes/java/awt/package.html
changeset 46338 e84b501fa52e
parent 46337 307e52ec20cd
parent 44236 d1cab6c7e608
child 46339 b80e814907b1
equal deleted inserted replaced
46337:307e52ec20cd 46338:e84b501fa52e
     1 <!--
       
     2  Copyright (c) 1998, 2013, 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 <head><title></title></head>
       
    29 <body bgcolor="white">
       
    30 
       
    31 Contains all of the classes for creating user
       
    32 interfaces and for painting graphics and images. A user interface object such as a button or a
       
    33 scrollbar is called, in AWT terminology, a component. The Component class is the root of all
       
    34 AWT components. See Component for a detailed description of properties that all AWT 
       
    35 components share.
       
    36 <p>
       
    37 Some components fire events when a user interacts with the components. The AWTEvent
       
    38 class and its subclasses are used to represent the events that AWT components can fire. See
       
    39 AWTEvent for a description of the AWT event model.
       
    40 <p>
       
    41 A container is a component that can contain components and other containers. A con
       
    42 tainer can also have a layout manager that controls the visual placement of components in the
       
    43 container. The AWT package contains several layout manager classes and an interface for
       
    44 building your own layout manager. See Container and LayoutManager for more information.
       
    45 <p>
       
    46 Each {@code Component} object is limited in its maximum size and
       
    47 its location because the values are stored as an integer.
       
    48 Also, a platform may further restrict maximum size and location
       
    49 coordinates. The exact maximum values are dependent on the platform.
       
    50 There is no way to change these maximum values, either in Java
       
    51 code or in native code.
       
    52 These limitations also impose restrictions on component layout.
       
    53 If the bounds of a Component object exceed a platform limit,
       
    54 there is no way to properly arrange them within a Container object.
       
    55 The object's bounds are defined by any object's coordinate
       
    56 in combination with its size on a respective axis. 
       
    57 
       
    58 
       
    59 <h2>Additional Specification</h2>
       
    60 <ul>
       
    61 <li><a href="doc-files/FocusSpec.html">The AWT Focus Subsystem</a>
       
    62 <li><a href="doc-files/Modality.html">The AWT Modality</a>
       
    63 </ul>
       
    64 
       
    65 <!--
       
    66 <h2>Package Specification</h2>
       
    67 
       
    68 ##### FILL IN ANY SPECS NEEDED BY JAVA COMPATIBILITY KIT #####
       
    69 <ul>
       
    70   <li><a href="">##### REFER TO ANY FRAMEMAKER SPECIFICATION HERE #####</a>
       
    71 </ul>
       
    72 
       
    73 <h2>Related Documentation</h2>
       
    74 
       
    75 For overviews, tutorials, examples, guides, and tool documentation, please see:
       
    76 <ul>
       
    77   <li><a href="">##### REFER TO NON-SPEC DOCUMENTATION HERE #####</a>
       
    78 </ul>
       
    79 -->
       
    80 
       
    81 @since 1.0
       
    82 </body>
       
    83 </html>