| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting graphics and images.
|
| java.awt.image |
Provides classes for creating and modifying images.
|
| javax.print |
Provides the principal classes and interfaces for the Java
TM Print Service API.
|
| javax.swing |
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
|
| Modifier and Type | Method and Description |
|---|---|
GraphicsConfiguration |
GraphicsDevice.getBestConfiguration(GraphicsConfigTemplate
Returns the "best" configuration possible that passes the criteria defined in the
GraphicsConfigTemplate.
|
abstract GraphicsConfiguration |
GraphicsConfigTemplate.getBestConfiguration(GraphicsConfiguration
Returns the "best" configuration possible that passes the criteria defined in the
GraphicsConfigTemplate.
|
abstract GraphicsConfiguration |
GraphicsDevice.getConfigurations()
Returns all of the
GraphicsConfiguration objects associated with this
GraphicsDevice.
|
abstract GraphicsConfiguration |
GraphicsDevice.getDefaultConfiguration()
Returns the default
GraphicsConfiguration associated with this
GraphicsDevice.
|
abstract GraphicsConfiguration |
Graphics2D.getDeviceConfiguration()
Returns the device configuration associated with this
Graphics2D.
|
GraphicsConfiguration |
Component.getGraphicsConfiguration()
Gets the
GraphicsConfiguration associated with this
Component.
|
| Modifier and Type | Method and Description |
|---|---|
abstract GraphicsConfiguration |
GraphicsConfigTemplate.getBestConfiguration(GraphicsConfiguration
Returns the "best" configuration possible that passes the criteria defined in the
GraphicsConfigTemplate.
|
ImageCapabilities |
Image.getCapabilities(GraphicsConfiguration
Returns an ImageCapabilities object which can be inquired as to the capabilities of this Image on the specified GraphicsConfiguration.
|
Insets |
Toolkit.getScreenInsets(GraphicsConfiguration
Gets the insets of the screen.
|
abstract boolean |
GraphicsConfigTemplate.isGraphicsConfigSupported(GraphicsConfiguration
Returns a
boolean indicating whether or not the specified
GraphicsConfiguration can be used to create a drawing surface that supports the indicated features.
|
| Constructor and Description | |
|---|---|
Canvas(GraphicsConfiguration
Constructs a new Canvas given a GraphicsConfiguration object.
|
|
Dialog(Dialog
Constructs an initially invisible
Dialog with the specified owner
Dialog, title, modality and
GraphicsConfiguration.
|
|
Dialog(Frame
Constructs an initially invisible
Dialog with the specified owner
Frame, title, modality, and
GraphicsConfiguration.
|
|
Dialog(Window
Constructs an initially invisible
Dialog with the specified owner
Window, title, modality and
GraphicsConfiguration.
|
|
Frame(GraphicsConfiguration
Constructs a new, initially invisible
Frame with the specified
GraphicsConfiguration.
|
|
Frame(String
Constructs a new, initially invisible
Frame object with the specified title and a
GraphicsConfiguration.
|
|
Window(Window
Constructs a new, initially invisible window with the specified owner
Window and a
GraphicsConfiguration of a screen device.
|
| Modifier and Type | Method and Description |
|---|---|
abstract int |
VolatileImage.validate(GraphicsConfiguration
Attempts to restore the drawing surface of the image if the surface had been lost since the last
validate call.
|
| Modifier and Type | Method and Description |
|---|---|
static PrintService |
ServiceUI.printDialog(GraphicsConfiguration
Presents a dialog to the user for selecting a print service (printer).
|
| Constructor and Description | |
|---|---|
JDialog(Dialog
Creates a dialog with the specified title, owner
Dialog, modality and
GraphicsConfiguration.
|
|
JDialog(Frame
Creates a dialog with the specified title, owner
Frame, modality and
GraphicsConfiguration.
|
|
JDialog(Window
Creates a dialog with the specified title, owner
Window, modality and
GraphicsConfiguration.
|
|
JFrame(GraphicsConfiguration
Creates a
Frame in the specified
GraphicsConfiguration of a screen device and a blank title.
|
|
JFrame(String
Creates a
JFrame with the specified title and the specified
GraphicsConfiguration of a screen device.
|
|
JWindow(GraphicsConfiguration
Creates a window with the specified
GraphicsConfiguration of a screen device.
|
|
JWindow(Window
Creates a window with the specified owner window and
GraphicsConfiguration of a screen device.
|