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