JSR-209 (Final Release)

Package java.awt

Contains all of the classes for creating user interfaces and for painting graphics and images.

See:
          Description

Interface Summary
Paint This Paint interface defines how color patterns can be generated for Graphics2D operations.
PaintContext The PaintContext interface defines the encapsulated and optimized environment to generate color patterns in device space for fill or stroke operations on a Graphics2D.
Shape The Shape interface provides definitions for objects that represent some form of geometric shape.
Stroke The Stroke interface allows a Graphics2D object to obtain a Shape that is the decorated outline, or stylistic representation of the outline, of the specified Shape.
 

Class Summary
AlphaComposite This AlphaComposite class implements the basic alpha compositing rules for combining source and destination pixels to achieve blending and transparency effects with graphics and images.
AWTKeyStroke An AWTKeyStroke represents a key action on the keyboard, or equivalent input device.
BasicStroke The BasicStroke class defines a basic set of rendering attributes for the outlines of graphics primitives, which are rendered with a Graphics2D object that has its Stroke attribute set to this BasicStroke.
Color The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by a ColorSpace.
Dimension The Dimension class encapsulates the width and height of a component (in integer precision) in a single object.
Font The Font class represents fonts, which are used to render text in a visible way.
GradientPaint The GradientPaint class provides a way to fill a Shape with a linear color gradient pattern.
Graphics2D This Graphics2D class extends the Graphics class to provide more sophisticated control over graphics operations.
GraphicsConfiguration The GraphicsConfiguration class describes the characteristics of a graphics destination such as a printer or monitor.
Point A point representing a location in (x, y) coordinate space, specified in integer precision.
Polygon The Polygon class encapsulates a description of a closed, two-dimensional region within a coordinate space.
Rectangle A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-left point (xy) in the coordinate space, its width, and its height.
RenderingHints The RenderingHints class contains rendering hints that can be used by the Graphics2D class, and classes that implement BufferedImageOp and Raster.
RenderingHints.Key Defines the base type of all keys used to control various aspects of the rendering and imaging pipelines.
TexturePaint The TexturePaint class provides a way to fill a Shape with a texture that is specified as a BufferedImage.
 

Package java.awt Description

Contains all of the classes for creating user interfaces and for painting graphics and images. A user interface object such as a button or a scrollbar is called, in AWT terminology, a component. The Component class is the root of all AWT components. See Component for a detailed description of properties that all AWT components share.

Some components fire events when a user interacts with the components. The AWTEvent class and its subclasses are used to represent the events that AWT components can fire. See AWTEvent for a description of the AWT event model.

A container is a component that can contain components and other containers. A con tainer can also have a layout manager that controls the visual placement of components in the container. The AWT package contains several layout manager classes and an interface for building your own layout manager. See Container and LayoutManager for more information.

Since:
JDK1.0

JSR-209 (Final Release)

Java and Java 2D are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Copyright 1993 - 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All Rights Reserved.
Use of this specification is subject to this license.