java.awt |
|
Java Source File Name | Type | Comment |
ActiveEvent.java | Interface | An interface for events that know how dispatch themselves.
By implementing this interface an event can be placed upon the event
queue and its dispatch() method will be called when the event
is dispatched, using the EventDispatchThread .
This is a very useful mechanism for avoiding deadlocks. |
Adjustable.java | Interface | The interface for objects which have an adjustable numeric value
contained within a bounded range of values. |
AlphaComposite.java | Class | |
AttributeValue.java | Class | |
AWTError.java | Class | Thrown when a serious Abstract Window Toolkit error has occurred. |
AWTEvent.java | Class | The root event class for all AWT events. |
AWTEventMulticaster.java | Class | A class which implements efficient and thread-safe multi-cast event
dispatching for the AWT events defined in the java.awt.event package. |
AWTException.java | Class | Signals that an Absract Window Toolkit exception has occurred. |
AWTKeyStroke.java | Class | An AWTKeyStroke represents a key action on the
keyboard, or equivalent input device. |
AWTPermission.java | Class | This class is for AWT permissions.
An AWTPermission contains a target name but
no actions list; you either have the named permission
or you don't.
The target name is the name of the AWT permission (see below). |
BasicStroke.java | Class | 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 .
The rendering attributes defined by BasicStroke describe
the shape of the mark made by a pen drawn along the outline of a
Shape and the decorations applied at the ends and joins of
path segments of the Shape .
These rendering attributes include:
- width
- The pen width, measured perpendicularly to the pen trajectory.
- end caps
- The decoration applied to the ends of unclosed subpaths and
dash segments.
|
BorderLayout.java | Class | A border layout lays out a container, arranging and resizing
its components to fit in five regions:
North , South , East ,
West , and Center . |
Button.java | Class | This class creates a labeled button. |
Canvas.java | Class | A Canvas component represents a blank rectangular
area of the screen onto which the application can draw or from
which the application can trap input events from the user.
An application must subclass the Canvas class in
order to get useful functionality such as creating a custom
component. |
CardLayout.java | Class | A CardLayout object is a layout manager for a
container. |
Checkbox.java | Class | A check box is a graphical component that can be in either an
"on" (true ) or "off" (false ) state.
Clicking on a check box changes its state from
"on" to "off," or from "off" to "on."
The following code example creates a set of check boxes in
a grid layout:
setLayout(new GridLayout(3, 1));
add(new Checkbox("one", null, true));
add(new Checkbox("two"));
add(new Checkbox("three"));
This image depicts the check boxes and grid layout
created by this code example:
The button labeled one is in the "on" state, and the
other two are in the "off" state. |
CheckboxGroup.java | Class | The CheckboxGroup class is used to group together
a set of Checkbox buttons.
Exactly one check box button in a CheckboxGroup can
be in the "on" state at any given time. |
CheckboxMenuItem.java | Class | This class represents a check box that can be included in a menu.
Clicking on the check box in the menu changes its state from
"on" to "off" or from "off" to "on."
The following picture depicts a menu which contains an instance
of CheckBoxMenuItem :
The item labeled Check shows a check box menu item
in its "off" state.
When a check box menu item is selected, AWT sends an item event to
the item. |
Choice.java | Class | The Choice class presents a pop-up menu of choices. |
Color.java | Class | This class encapsulates colors using the RGB format. |
Component.java | Class | A component is an object having a graphical representation
that can be displayed on the screen and that can interact with the
user. |
ComponentXWindow.java | Class | The X window used by a component to get mouse events from the X server. |
Composite.java | Interface | |
Conditional.java | Interface | Conditional is used by the EventDispatchThread's message pumps to
determine if a given pump should continue to run, or should instead exit
and yield control to the parent pump. |
Container.java | Class | A generic Abstract Window Toolkit(AWT) container object is a component
that can contain other AWT components.
Components added to a container are tracked in a list. |
ContainerOrderFocusTraversalPolicy.java | Class | A FocusTraversalPolicy that determines traversal order based on the order
of child Components in a Container. |
Cursor.java | Class | A class to encapsulate the bitmap representation of the mouse cursor. |
DefaultFocusTraversalPolicy.java | Class | A FocusTraversalPolicy that determines traversal order based on the order
of child Components in a Container. |
DefaultKeyboardFocusManager.java | Class | |
Dialog.java | Class | A dialog component is a top level window, . |
DialogXWindow.java | Class | |
Dimension.java | Class | The Dimension class encapsulates the width and
height of a component in a single object. |
Event.java | Class | Event is a platform-independent class that
encapsulates events from the platform's Graphical User
Interface in the Java 1.0 event model. |
EventDispatchThread.java | Class | EventDispatchThread is a package-private AWT class which takes
events off the EventQueue and dispatches them to the appropriate
AWT components.
The Thread starts a "permanent" event pump with a call to
pumpEvents(Conditional) in its run() method. |
EventQueue.java | Class | EventQueue is a platform-independent class that queues events, both
from the underlying peer classes and from trusted application classes. |
EventQueueListener.java | Interface | |
FileDialog.java | Class | The FileDialog class displays a dialog window
from which the user can select a file. |
FlowLayout.java | Class | A flow layout arranges components in a left-to-right flow, much
like lines of text in a paragraph. |
FocusTraversalPolicy.java | Class | A FocusTraversalPolicy defines the order in which Components with a
particular focus cycle root are traversed. |
Font.java | Class | A class that produces font objects. |
FontMetrics.java | Class | A font metrics object, which gives information about the rendering
of a particular font on a particular screen. |
Frame.java | Class | A Frame is window with additional properties, such as a title bar,
a menu bar, a cursor, and an icon image where appropriate.
A Personal Profile implementation is not required to support multiple
frames. |
FrameXWindow.java | Class | X window used for a Frame. |
Graphics.java | Class | The Graphics class is the abstract base class for
all graphics contexts that allow an application to draw onto
components that are realized on various devices, as well as
onto off-screen images.
A Graphics object encapsulates state information needed
for the basic rendering operations that Java supports. |
Graphics2D.java | Class | |
GraphicsConfiguration.java | Class | The GraphicsConfiguration class describes the
characteristics of a graphics destination such as a printer or monitor.
There can be many GraphicsConfiguration objects associated
with a single graphics device, representing different drawing modes or
capabilities. |
GraphicsDevice.java | Class | The GraphicsDevice class describes the graphics devices
that might be available in a particular graphics environment. |
GraphicsEnvironment.java | Class | The GraphicsEnvironment class describes the collection
of
GraphicsDevice objects and
java.awt.Font objects
available to a Java(tm) application on a particular platform.
The resources in this GraphicsEnvironment might be local
or on a remote machine. |
GridBagConstraints.java | Class | The GridBagConstraints class specifies constraints
for components that are laid out using the
GridBagLayout class. |
GridBagLayout.java | Class | |
GridLayout.java | Class | The GridLayout class is a layout manager that
lays out a container's components in a rectangular grid. |
HeadlessException.java | Class | Thrown when code that is dependent on a keyboard, display, or mouse
is called in an environment that does not support a keyboard, display,
or mouse. |
HeavyweightComponentXWindow.java | Class | The X window used by a component, that is traditionally heavyweight, to get mouse events from the X server.
This winow represents an InputOutput
window in X (an opaque window that can be used to select and receive events). |
IllegalComponentStateException.java | Class | Signals that an AWT component is not in an appropriate state for
the requested operation. |
Image.java | Class | The abstract class Image is the superclass of all
classes that represent graphical images. |
ImageCapabilities.java | Class | Capabilities and properties of images. |
Insets.java | Class | An Insets object is a representation of the borders
of a container. |
ItemSelectable.java | Interface | The interface for objects which contain a set of items for
which zero or more can be selected. |
KeyboardFocusManager.java | Class | |
KeyEventDispatcher.java | Interface | A KeyEventDispatcher cooperates with the current KeyboardFocusManager in the
targeting and dispatching of all KeyEvents. |
KeyEventPostProcessor.java | Interface | A KeyEventPostProcessor cooperates with the current KeyboardFocusManager
in the final resolution of all unconsumed KeyEvents. |
Label.java | Class | A Label object is a component for placing text in a
container. |
LayoutManager.java | Interface | Defines the interface for classes that know how to layout Containers. |
LayoutManager2.java | Interface | Defines an interface for classes that know how to layout Containers
based on a layout constraints object. |
LightweightDispatcher.java | Class | Class to manage the dispatching of events to the lightweight
components contained by a native container. |
List.java | Class | The List component presents the user with a
scrolling list of text items. |
MediaTracker.java | Class | The MediaTracker class is a utility class to track
the status of a number of media objects. |
Menu.java | Class | A Menu object is a pull-down menu component
that is deployed from a menu bar.
A menu can optionally be a tear-off menu. |
MenuBar.java | Class | The MenuBar class encapsulates the platform's
concept of a menu bar bound to a frame. |
MenuComponent.java | Class | The abstract class MenuComponent is the superclass
of all menu-related components. |
MenuContainer.java | Interface | The super class of all menu related containers. |
MenuItem.java | Class | All items in a menu must belong to the class
MenuItem , or one of its subclasses.
The default MenuItem object embodies
a simple labeled menu item.
This picture of a menu bar shows five menu items:
The first two items are simple menu items, labeled
"Basic" and "Simple" .
Following these two items is a separator, which is itself
a menu item, created with the label "-" .
Next is an instance of CheckboxMenuItem
labeled "Check" . |
MenuShortcut.java | Class | A class which represents a keyboard accelerator for a MenuItem. |
MWARGBGraphicsConfiguration.java | Class | |
MWDefaultGraphicsConfiguration.java | Class | |
MWFontMetrics.java | Class | A font metrics object for a font. |
MWGraphics.java | Class | MWGraphics is an object that encapsulates a graphics context for drawing with Microwindows. |
MWGraphicsConfiguration.java | Class | |
MWGraphicsDevice.java | Class | |
MWGraphicsEnvironment.java | Class | This is an implementation of a GraphicsEnvironment object for the
default local GraphicsEnvironment used by the JavaSoft JDK in MW
environments. |
MWImage.java | Class | Microwindows image implementation. |
MWOffscreenImage.java | Class | An offscreen image created by Component.createImage(int width, int height). |
MWSubimage.java | Class | An offscreen image created by BufferedImage.getSubimage(int width, int height). |
MWToolkit.java | Class | The toolkit used by this AWT implementation based on the MicroWindows library. |
Panel.java | Class | Panel is the simplest container class. |
Point.java | Class | The Point class represents a location in a
two-dimensional (x, y) coordinate space. |
Polygon.java | Class | The Polygon class encapsulates a description of a
closed, two-dimensional region within a coordinate space. |
PopupMenu.java | Class | A class that implements a menu which can be dynamically popped up
at a specified position within a component.
As the inheritance hierarchy implies, a PopupMenu can be used anywhere
a Menu can be used. |
PrintGraphics.java | Interface | An abstract class which provides a print graphics context for a page. |
PrintJob.java | Class | An abstract class which initiates and executes a print job. |
QtARGBGraphicsConfiguration.java | Class | |
QtDefaultGraphicsConfiguration.java | Class | |
QtFontMetrics.java | Class | A font metrics object for a font. |
QtGraphics.java | Class | QtGraphics is an object that encapsulates a graphics context for drawing with Qt. |
QtGraphicsConfiguration.java | Class | |
QtGraphicsDevice.java | Class | |
QtGraphicsEnvironment.java | Class | This is an implementation of a GraphicsEnvironment object Qtfor the
default local GraphicsEnvironment used by the JavaSoft JDK in Qt
environments. |
QtImage.java | Class | Qt image implementation. |
QtOffscreenImage.java | Class | An offscreen image created by Component.createImage(int width, int height). |
QtRobotHelper.java | Class | |
QtSubimage.java | Class | An offscreen image created by BufferedImage.getSubimage(int width, int height). |
QtToolkit.java | Class | The toolkit used by this AWT implementation based on the Qt library. |
QtVolatileImage.java | Class | Qt volatile image implementation. |
Rectangle.java | Class | A Rectangle specifies an area in a coordinate space that is
enclosed by the Rectangle object's top-left point
(x, y)
in the coordinate space, its width, and its height.
A Rectangle object's width and
height are public fields. |
Scrollbar.java | Class | The Scrollbar class embodies a scroll bar, a
familiar user-interface object. |
ScrollPane.java | Class | A container class which implements automatic horizontal and/or
vertical scrolling for a single child component. |
SentEvent.java | Class | A wrapping tag for a nested AWTEvent which indicates that the event was
sent from another AppContext. |
SequencedEvent.java | Class | A mechanism for ensuring that a series of AWTEvents are executed in a
precise order, even across multiple AppContexts. |
Shape.java | Interface | The interface for objects which represent some form of geometric
shape.
This interface will be revised in the upcoming Java2D project.
It is meant to provide a common interface for various existing
geometric AWT classes and methods which operate on them. |
Stroke.java | Interface | 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 . |
SystemColor.java | Class | A class to encapsulate symbolic colors representing the color
of GUI objects on a system. |
TextArea.java | Class | A TextArea object is a multi-line region
that displays text. |
TextComponent.java | Class | The TextComponent class is the superclass of
any component that allows the editing of some text.
A text component embodies a string of text. |
TextField.java | Class | A TextField object is a text component
that allows for the editing of a single line of text.
For example, the following image depicts a frame with four
text fields of varying widths. |
Toolkit.java | Class | This class is the abstract superclass of all actual
implementations of the Abstract Window Toolkit. |
Transparency.java | Interface | The Transparency interface defines the common transparency
modes for implementing classes. |
Window.java | Class | A Window object is a top-level window with no borders and no
menubar. |
WindowXWindow.java | Class | The base class for all top level windows. |
X11FontMetrics.java | Class | A font metrics object for a WServer font. |
X11Graphics.java | Class | X11Graphics is an object that encapsulates a graphics context for a
particular canvas. |
X11GraphicsConfig.java | Class | This is an implementation of a GraphicsConfiguration object for a
single X11 visual. |
X11GraphicsDevice.java | Class | This is an implementation of a GraphicsDevice object for a single
X11 screen. |
X11GraphicsEnvironment.java | Class | This is an implementation of a GraphicsEnvironment object for the
default local GraphicsEnvironment used by the JavaSoft JDK in X11
environments. |
X11Image.java | Class | |
X11Toolkit.java | Class | The toolkit used by this AWT implementation based on the X11 library. |