Home » openjdk-7 » java » awt »

java.awt

Sub Packages:

java.awt.color   Provides classes for color spaces.  
java.awt.datatransfer   Provides interfaces and classes for transferring data between and within applications.  
java.awt.dnd   Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI.  
java.awt.dnd.peer   Provides for interfacing with the underlying window system in order to access its platform-dependent drag-and-drop facilities.  
java.awt.event   Provides interfaces and classes for dealing with different types of events fired by AWT components.  
java.awt.font   Provides classes and interface relating to fonts.  
java.awt.geom   Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry.  
java.awt.im   Provides classes and interfaces for the input method framework.  
java.awt.im.spi   Provides interfaces that enable the development of input methods that can be used with any Java runtime environment.  
java.awt.image   Provides classes for creating and modifying images.  
java.awt.image.renderable   Provides classes and interfaces for producing rendering-independent images.  
java.awt.peer   Provides for interfacing with the underlying window system.  
java.awt.print   Provides classes and interfaces for a general printing API.  

Interfaces:

ActiveEvent   An interface for events that know how to dispatch themselves.  code | html
Adjustable   The interface for objects which have an adjustable numeric value contained within a bounded range of values.  code | html
ComponentBehavior   The interface of the helper object that encapsulates the difference between lightweight and heavyweight components.  code | html
Composite   The Composite interface, along with CompositeContext , defines the methods to compose a draw primitive with the underlying graphics area.  code | html
CompositeContext   The CompositeContext interface defines the encapsulated and optimized environment for a compositing operation.  code | html
Conditional   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.  code | html
Container.EventTargetFilter     code | html
EventFilter     code | html
ItemSelectable   The interface for objects which contain a set of items for which zero or more can be selected.  code | html
KeyEventDispatcher   A KeyEventDispatcher cooperates with the current KeyboardFocusManager in the targeting and dispatching of all KeyEvents.  code | html
KeyEventPostProcessor   A KeyEventPostProcessor cooperates with the current KeyboardFocusManager in the final resolution of all unconsumed KeyEvents.  code | html
LayoutManager   Defines the interface for classes that know how to lay out Containers.  code | html
LayoutManager2   Defines an interface for classes that know how to layout Containers based on a layout constraints object.  code | html
MenuContainer   The super class of all menu related containers.  code | html
Paint   This Paint interface defines how color patterns can be generated for Graphics2D operations.  code | html
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 code | html
PrintGraphics   An abstract class which provides a print graphics context for a page.  code | html
SecondaryLoop   A helper interface to run the nested event loop.  code | html
Shape   The Shape interface provides definitions for objects that represent some form of geometric shape.  code | html
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 code | html
Transparency   The Transparency interface defines the common transparency modes for implementing classes.  code | html

Abstract Classes:

AWTEvent   The root event class for all AWT events.  code | html
AttributeValue     code | html
Component   A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.  code | html
Component.AccessibleAWTComponent   Inner class of Component used to provide default support for accessibility.  code | html
FocusTraversalPolicy   A FocusTraversalPolicy defines the order in which Components with a particular focus cycle root are traversed.  code | html
FontMetrics   The FontMetrics class defines a font metrics object, which encapsulates information about the rendering of a particular font on a particular screen.  code | html
Graphics   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.  code | html
Graphics2D   This Graphics2D class extends the Graphics class to provide more sophisticated control over geometry, coordinate transformations, color management, and text layout.  code | html
GraphicsCallback     code | html
GraphicsConfigTemplate   The GraphicsConfigTemplate class is used to obtain a valid GraphicsConfiguration code | html
GraphicsConfiguration   The GraphicsConfiguration class describes the characteristics of a graphics destination such as a printer or monitor.  code | html
GraphicsDevice   The GraphicsDevice class describes the graphics devices that might be available in a particular graphics environment.  code | html
GraphicsEnvironment   The GraphicsEnvironment class describes the collection of GraphicsDevice objects and java.awt.Font objects available to a Java(tm) application on a particular platform.  code | html
Image   The abstract class Image is the superclass of all classes that represent graphical images.  code | html
KeyboardFocusManager   The KeyboardFocusManager is responsible for managing the active and focused Windows, and the current focus owner.  code | html
MediaEntry     code | html
MenuComponent   The abstract class MenuComponent is the superclass of all menu-related components.  code | html
MenuComponent.AccessibleAWTMenuComponent   Inner class of MenuComponent used to provide default support for accessibility.  code | html
ModalEventFilter     code | html
MultipleGradientPaint   This is the superclass for Paints which use a multiple color gradient to fill in their raster.  code | html
MultipleGradientPaintContext   This is the superclass for all PaintContexts which use a multiple color gradient to fill in their raster.  code | html
PopupBox   Non-component window for displaying menus and drop-down lists  code | html
PrintJob   An abstract class which initiates and executes a print job.  code | html
RenderingHints.Key   Defines the base type of all keys used along with the RenderingHints class to control various algorithm choices in the rendering and imaging pipelines.  code | html
TexturePaintContext     code | html
Toolkit   This class is the abstract superclass of all actual implementations of the Abstract Window Toolkit.  code | html

Classes:

Component.BaselineResizeBehavior   Enumeration of the common ways the baseline of a component can change as the size changes.  code | html
Desktop.Action   Represents an action type.  code | html
Dialog.ModalExclusionType   Any top-level window can be marked not to be blocked by modal dialogs.  code | html
Dialog.ModalityType   Modal dialogs block all input to some top-level windows.  code | html
EventFilter.FilterAction   Enumeration for possible values for acceptEvent(AWTEvent ev) method.  code | html
GraphicsDevice.WindowTranslucency   Kinds of translucency supported by the underlying system.  code | html
MultipleGradientPaint.ColorSpaceType   The color space in which to perform the gradient interpolation.  code | html
MultipleGradientPaint.CycleMethod   The method to use when painting outside the gradient bounds.  code | html
TrayIcon.MessageType   The message type determines which icon will be displayed in the caption of the message, and a possible system sound a message may generate upon showing.  code | html
Window.Type   Enumeration of available window types code | html
AWTError   Thrown when a serious Abstract Window Toolkit error has occurred.  code | html
AWTEventMulticaster   {@code AWTEventMulticaster} implements efficient and thread-safe multi-cast event dispatching for the AWT events defined in the {@code java.awt.event} package.  code | html
AWTException   Signals that an Absract Window Toolkit exception has occurred.  code | html
AWTKeyStroke   An AWTKeyStroke represents a key action on the keyboard, or equivalent input device.  code | html
AWTListenerList     code | html
AWTPermission   This class is for AWT permissions.  code | html
AlphaComposite   The AlphaComposite class implements basic alpha compositing rules for combining source and destination colors to achieve blending and transparency effects with graphics and images.  code | html
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 code | html
BorderLayout   A border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center.  code | html
BufferCapabilities   Capabilities and properties of buffers.  code | html
BufferCapabilities.FlipContents   A type-safe enumeration of the possible back buffer contents after page-flipping  code | html
Button   This class creates a labeled button.  code | html
Button.AccessibleAWTButton   This class implements accessibility support for the Button class.  code | html
Canvas   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.  code | html
Canvas.AccessibleAWTCanvas   This class implements accessibility support for the Canvas class.  code | html
CardLayout   A CardLayout object is a layout manager for a container.  code | html
CardLayout.Card     code | html
Checkbox   A check box is a graphical component that can be in either an "on" (true) or "off" (false) state.  code | html
Checkbox.AccessibleAWTCheckbox   This class implements accessibility support for the Checkbox class.  code | html
CheckboxGroup   The CheckboxGroup class is used to group together a set of Checkbox buttons.  code | html
CheckboxMenuItem   This class represents a check box that can be included in a menu.  code | html
CheckboxMenuItem.AccessibleAWTCheckboxMenuItem   Inner class of CheckboxMenuItem used to provide default support for accessibility.  code | html
Choice   The Choice class presents a pop-up menu of choices.  code | html
Choice.AccessibleAWTChoice   This class implements accessibility support for the Choice class.  code | html
ChoicePopupBox   Helper class: popup window containing list of Choice items, implements popup and scrolling list behavior of Choice component  code | html
ChoicePopupBox.ChoiceListState   List state implementation  code | html
ChoicePopupBox.ChoiceScrollable   Scrolling behavior implementation  code | html
Color   The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by a ColorSpace code | html
ColorPaintContext     code | html
Component.AWTTreeLock     code | html
Component.AccessibleAWTComponent.AccessibleAWTComponentHandler   Fire PropertyChange listener, if one is registered, when shown/hidden..  code | html
Component.AccessibleAWTComponent.AccessibleAWTFocusHandler   Fire PropertyChange listener, if one is registered, when focus events happen  code | html
Component.BltBufferStrategy   Inner class for blitting offscreen surfaces to a component.  code | html
Component.BltSubRegionBufferStrategy   Private class to perform sub-region blitting.  code | html
Component.DummyRequestFocusController     code | html
Component.FlipBufferStrategy   Inner class for flipping buffers on a component.  code | html
Component.FlipSubRegionBufferStrategy   Private class to perform sub-region flipping.  code | html
Component.ProxyCapabilities   This is a proxy capabilities class used when a FlipBufferStrategy is created instead of the requested Blit strategy.  code | html
Component.SingleBufferStrategy   Inner class for flipping buffers on a component.  code | html
ComponentOrientation   The ComponentOrientation class encapsulates the language-sensitive orientation that is to be used to order the elements of a component or of text.  code | html
Container   A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.  code | html
Container.AccessibleAWTContainer   Inner class of Container used to provide default support for accessibility.  code | html
Container.AccessibleAWTContainer.AccessibleContainerHandler   Fire PropertyChange listener, if one is registered, when children are added or removed.  code | html
Container.DropTargetEventTargetFilter     code | html
Container.MouseEventTargetFilter     code | html
Container.WakingRunnable     code | html
ContainerOrderFocusTraversalPolicy   A FocusTraversalPolicy that determines traversal order based on the order of child Components in a Container.  code | html
Cursor   A class to encapsulate the bitmap representation of the mouse cursor.  code | html
Cursor.CursorDisposer     code | html
DefaultFocusTraversalPolicy   A FocusTraversalPolicy that determines traversal order based on the order of child Components in a Container.  code | html
DefaultKeyboardFocusManager   The default KeyboardFocusManager for AWT applications.  code | html
DefaultKeyboardFocusManager.DefaultKeyboardFocusManagerSentEvent   A special type of SentEvent which updates a counter in the target KeyboardFocusManager if it is an instance of DefaultKeyboardFocusManager.  code | html
DefaultKeyboardFocusManager.TypeAheadMarker     code | html
DefaultMouseDragGestureRecognizer     code | html
Desktop   The {@code Desktop} class allows a Java application to launch associated applications registered on the native desktop to handle a java.net.URI or a file.  code | html
Dialog   A Dialog is a top-level window with a title and a border that is typically used to take some form of input from the user.  code | html
Dialog.AccessibleAWTDialog   This class implements accessibility support for the Dialog class.  code | html
Dimension   The Dimension class encapsulates the width and height of a component (in integer precision) in a single object.  code | html
Dispatcher   Helper package-private class for managing lightweight components & dispatching events from heavyweight source  code | html
Dispatcher.ComponentDispatcher   The dispatcher of native events that affect component's state or bounds  code | html
Dispatcher.KeyDispatcher   The dispatcher of the keyboard events  code | html
Dispatcher.MouseGrabManager   Retargets the mouse events to the grab owner when mouse is grabbed, grab and ungrab mouse when mouse buttons are pressed and released  code | html
Dispatcher.PopupDispatcher   Dispatches native events related to the pop-up boxes (the non-component windows such as menus and drop lists)  code | html
Dispatcher.PopupDispatcher.MouseGrab   Handles the mouse grab for pop-up boxes  code | html
DisplayMode   The DisplayMode class encapsulates the bit depth, height, width, and refresh rate of a GraphicsDevice code | html
EmbeddedWindow   The root of the component hierarchy embedded into a native application's window  code | html
EmbeddedWindow.EmbeddedBehavior   The component behavior for the embedded window  code | html
Event   NOTE: The Event class is obsolete and is available only for backwards compatilibility.  code | html
EventDispatchThread   EventDispatchThread is a package-private AWT class which takes events off the EventQueue and dispatches them to the appropriate AWT components.  code | html
EventDispatchThread.HierarchyEventFilter     code | html
EventQueue   EventQueue is a platform-independent class that queues events, both from the underlying peer classes and from trusted application classes.  code | html
EventQueueCore   The events storage for EventQueue  code | html
EventQueueThread   Thread for dispatching events in non-system EventQueue  code | html
EventQueueThread.StopThreadEvent     code | html
FileDialog   The FileDialog class displays a dialog window from which the user can select a file.  code | html
FlowLayout   A flow layout arranges components in a directional flow, much like lines of text in a paragraph.  code | html
FocusDispatcher   "internal" focus manager Take decoded native focus events & generate WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS if necessary.  code | html
FocusManager   This class is no longer used, but is maintained for Serialization backward-compatibility.  code | html
Font   The Font class represents fonts, which are used to render text in a visible way.  code | html
Font.FontAccessImpl     code | html
FontFormatException   Thrown by method createFont in the Font class to indicate that the specified font is bad.  code | html
Frame   A Frame is a top-level window with a title and a border.  code | html
Frame.AccessibleAWTFrame   This class implements accessibility support for the Frame class.  code | html
GradientPaint   The GradientPaint class provides a way to fill a Shape with a linear color gradient pattern.  code | html
GradientPaintContext     code | html
GraphicsCallback.PaintAllCallback     code | html
GraphicsCallback.PaintCallback     code | html
GraphicsCallback.PaintHeavyweightComponentsCallback     code | html
GraphicsCallback.PeerPaintCallback     code | html
GraphicsCallback.PeerPrintCallback     code | html
GraphicsCallback.PrintAllCallback     code | html
GraphicsCallback.PrintCallback     code | html
GraphicsCallback.PrintHeavyweightComponentsCallback     code | html
GraphicsConfiguration.DefaultBufferCapabilities     code | html
GridBagConstraints   The GridBagConstraints class specifies constraints for components that are laid out using the GridBagLayout class.  code | html
GridBagLayout   The GridBagLayout class is a flexible layout manager that aligns components vertically, horizontally or along their baseline without requiring that the components be of the same size.  code | html
GridBagLayoutInfo   The {@code GridBagLayoutInfo} is an utility class for {@code GridBagLayout} layout manager.  code | html
GridLayout   The GridLayout class is a layout manager that lays out a container's components in a rectangular grid.  code | html
HWBehavior   Heavyweight component specific behaviour  code | html
HeadlessEventDispatchThread     code | html
HeadlessException   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.  code | html
HeadlessGraphicsEnvironment     code | html
HeadlessToolkit     code | html
HeadlessToolkit.EventMonitor     code | html
IllegalComponentStateException   Signals that an AWT component is not in an appropriate state for the requested operation.  code | html
ImageCapabilities   Capabilities and properties of images.  code | html
ImageMediaEntry     code | html
Insets   An Insets object is a representation of the borders of a container.  code | html
JobAttributes   A set of attributes which control a print job.  code | html
JobAttributes.DefaultSelectionType   A type-safe enumeration of possible default selection states.  code | html
JobAttributes.DestinationType   A type-safe enumeration of possible job destinations.  code | html
JobAttributes.DialogType   A type-safe enumeration of possible dialogs to display to the user.  code | html
JobAttributes.MultipleDocumentHandlingType   A type-safe enumeration of possible multiple copy handling states.  code | html
JobAttributes.SidesType   A type-safe enumeration of possible multi-page impositions.  code | html
KeyboardFocusManager.HeavyweightFocusRequest     code | html
KeyboardFocusManager.LightweightFocusRequest     code | html
LWBehavior   A lightweight component specific behaviour.  code | html
Label   A Label object is a component for placing text in a container.  code | html
Label.AccessibleAWTLabel   This class implements accessibility support for the Label class.  code | html
LightweightDispatcher   Class to manage the dispatching of MouseEvents to the lightweight descendants and SunDropTargetEvents to both lightweight and heavyweight descendants contained by a native container.  code | html
LightweightDispatcher   Redispatches mouse events to lightweight components.  code | html
LinearGradientPaint   The {@code LinearGradientPaint} class provides a way to fill a java.awt.Shape with a linear color gradient pattern.  code | html
LinearGradientPaintContext   Provides the actual implementation for the LinearGradientPaint.  code | html
List   The List component presents the user with a scrolling list of text items.  code | html
List.AccessibleAWTList   This class implements accessibility support for the List class.  code | html
List.AccessibleAWTList.AccessibleAWTListChild   This class implements accessibility support for List children.  code | html
MediaTracker   The MediaTracker class is a utility class to track the status of a number of media objects.  code | html
Menu   A Menu object is a pull-down menu component that is deployed from a menu bar.  code | html
Menu.AccessibleAWTMenu   Inner class of Menu used to provide default support for accessibility.  code | html
MenuBar   The MenuBar class encapsulates the platform's concept of a menu bar bound to a frame.  code | html
MenuBar.AccessibleAWTMenuBar   Inner class of MenuBar used to provide default support for accessibility.  code | html
MenuItem   All items in a menu must belong to the class MenuItem, or one of its subclasses.  code | html
MenuItem.AccessibleAWTMenuItem   Inner class of MenuItem used to provide default support for accessibility.  code | html
MenuShortcut   The MenuShortcutclass represents a keyboard accelerator for a MenuItem.  code | html
ModalContext   The context for nested event loop. It can be dialog, popup menu etc.  code | html
ModalEventFilter.ApplicationModalEventFilter     code | html
ModalEventFilter.DocumentModalEventFilter     code | html
ModalEventFilter.ToolkitModalEventFilter     code | html
MouseDispatcher     code | html
MouseDispatcher.PointerInfo     code | html
MouseInfo   MouseInfo provides methods for getting information about the mouse, such as mouse pointer location and the number of mouse buttons.  code | html
PageAttributes   A set of attributes which control the output of a printed page.  code | html
PageAttributes.ColorType   A type-safe enumeration of possible color states.  code | html
PageAttributes.MediaType   A type-safe enumeration of possible paper sizes.  code | html
PageAttributes.OrientationRequestedType   A type-safe enumeration of possible orientations.  code | html
PageAttributes.OriginType   A type-safe enumeration of possible origins.  code | html
PageAttributes.PrintQualityType   A type-safe enumeration of possible print qualities.  code | html
Panel   Panel is the simplest container class.  code | html
Panel.AccessibleAWTPanel   This class implements accessibility support for the Panel class.  code | html
PeerFixer     code | html
Point   A point representing a location in {@code (x,y)} coordinate space, specified in integer precision.  code | html
PointerInfo   A class that describes the pointer position.  code | html
Polygon   The Polygon class encapsulates a description of a closed, two-dimensional region within a coordinate space.  code | html
Polygon.PolygonPathIterator     code | html
PopupMenu   A class that implements a menu which can be dynamically popped up at a specified position within a component.  code | html
PopupMenu.AccessibleAWTPopupMenu   Inner class of PopupMenu used to provide default support for accessibility.  code | html
Queue   The Queue object holds pointers to the beginning and end of one internal queue.  code | html
RadialGradientPaint   The {@code RadialGradientPaint} class provides a way to fill a shape with a circular radial color gradient pattern.  code | html
RadialGradientPaintContext   Provides the actual implementation for the RadialGradientPaint.  code | html
Rectangle   A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's upper-left point {@code (x,y)} in the coordinate space, its width, and its height.  code | html
RedrawManager   The collection of component regions that need to be painted  code | html
RenderingHints   The {@code RenderingHints} class defines and manages collections of keys and associated values which allow an application to provide input into the choice of algorithms used by other classes which perform rendering and image manipulation services.  code | html
Robot   This class is used to generate native system input events for the purposes of test automation, self-running demos, and other applications where control of the mouse and keyboard is needed.  code | html
Robot.RobotDisposer     code | html
ScrollPane   A container class which implements automatic horizontal and/or vertical scrolling for a single child component.  code | html
ScrollPane.AccessibleAWTScrollPane   This class implements accessibility support for the ScrollPane class.  code | html
ScrollPane.PeerFixer     code | html
ScrollPaneAdjustable   This class represents the state of a horizontal or vertical scrollbar of a ScrollPane code | html
Scrollbar   The Scrollbar class embodies a scroll bar, a familiar user-interface object.  code | html
Scrollbar.AccessibleAWTScrollBar   This class implements accessibility support for the Scrollbar class.  code | html
SentEvent   A wrapping tag for a nested AWTEvent which indicates that the event was sent from another AppContext.  code | html
SequencedEvent   A mechanism for ensuring that a series of AWTEvents are executed in a precise order, even across multiple AppContexts.  code | html
SplashScreen   The splash screen can be displayed at application startup, before the Java Virtual Machine (JVM) starts.  code | html
SystemColor   A class to encapsulate symbolic colors representing the color of native GUI objects on a system.  code | html
SystemTray   The SystemTray class represents the system tray for a desktop.  code | html
TextArea   A TextArea object is a multi-line region that displays text.  code | html
TextArea.AccessibleAWTTextArea   This class implements accessibility support for the TextArea class.  code | html
TextComponent   The TextComponent class is the superclass of any component that allows the editing of some text.  code | html
TextComponent.AccessibleAWTTextComponent   This class implements accessibility support for the TextComponent class.  code | html
TextField   A TextField object is a text component that allows for the editing of a single line of text.  code | html
TextField.AccessibleAWTTextField   This class implements accessibility support for the TextField class.  code | html
TexturePaint   The TexturePaint class provides a way to fill a Shape with a texture that is specified as a BufferedImage code | html
TexturePaintContext.Any     code | html
TexturePaintContext.Byte     code | html
TexturePaintContext.ByteFilter     code | html
TexturePaintContext.Int     code | html
Toolkit.DesktopPropertyChangeSupport     code | html
Toolkit.SelectiveAWTEventListener     code | html
Toolkit.ToolkitEventMulticaster     code | html
ToolkitImpl     code | html
TrayIcon   A TrayIcon object represents a tray icon that can be added to the system tray code | html
VKCollection     code | html
WaitDispatchSupport   This utility class is used to suspend execution on a thread while still allowing {@code EventDispatchThread} to dispatch events.  code | html
Window   A Window object is a top-level window with no borders and no menubar.  code | html
Window.AccessibleAWTWindow   This class implements accessibility support for the Window class.  code | html
Window.WindowDisposerRecord     code | html