Uses of Class
java.awt.GraphicsConfiguration
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides classes for creating and modifying images.
Provides the principal classes and interfaces for the Java Print
Service API.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
-
Uses of GraphicsConfiguration in java.awt
Modifier and TypeMethodDescriptionabstract GraphicsConfiguration
GraphicsConfigTemplate.getBestConfiguration(GraphicsConfiguration[] gc)
Returns the "best" configuration possible that passes the criteria defined in theGraphicsConfigTemplate
.GraphicsDevice.getBestConfiguration(GraphicsConfigTemplate gct)
Returns the "best" configuration possible that passes the criteria defined in theGraphicsConfigTemplate
.abstract GraphicsConfiguration[]
GraphicsDevice.getConfigurations()
Returns all of theGraphicsConfiguration
objects associated with thisGraphicsDevice
.abstract GraphicsConfiguration
GraphicsDevice.getDefaultConfiguration()
Returns the defaultGraphicsConfiguration
associated with thisGraphicsDevice
.abstract GraphicsConfiguration
Graphics2D.getDeviceConfiguration()
Returns the device configuration associated with thisGraphics2D
.Component.getGraphicsConfiguration()
Gets theGraphicsConfiguration
associated with thisComponent
.Modifier and TypeMethodDescriptionabstract GraphicsConfiguration
GraphicsConfigTemplate.getBestConfiguration(GraphicsConfiguration[] gc)
Returns the "best" configuration possible that passes the criteria defined in theGraphicsConfigTemplate
.Image.getCapabilities(GraphicsConfiguration gc)
Returns an ImageCapabilities object which can be inquired as to the capabilities of this Image on the specified GraphicsConfiguration.Toolkit.getScreenInsets(GraphicsConfiguration gc)
Gets the insets of the screen.abstract boolean
GraphicsConfigTemplate.isGraphicsConfigSupported(GraphicsConfiguration gc)
Returns aboolean
indicating whether or not the specifiedGraphicsConfiguration
can be used to create a drawing surface that supports the indicated features.ModifierConstructorDescriptionCanvas(GraphicsConfiguration config)
Constructs a new Canvas given a GraphicsConfiguration object.Dialog(Dialog owner, String title, boolean modal, GraphicsConfiguration gc)
Constructs an initially invisibleDialog
with the specified ownerDialog
, title, modality andGraphicsConfiguration
.Dialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc)
Constructs an initially invisibleDialog
with the specified ownerFrame
, title, modality, andGraphicsConfiguration
.Dialog(Window owner, String title, Dialog.ModalityType modalityType, GraphicsConfiguration gc)
Constructs an initially invisibleDialog
with the specified ownerWindow
, title, modality andGraphicsConfiguration
.Constructs a new, initially invisibleFrame
with the specifiedGraphicsConfiguration
.Frame(String title, GraphicsConfiguration gc)
Constructs a new, initially invisibleFrame
object with the specified title and aGraphicsConfiguration
.Window(Window owner, GraphicsConfiguration gc)
Constructs a new, initially invisible window with the specified ownerWindow
and aGraphicsConfiguration
of a screen device. -
Uses of GraphicsConfiguration in java.awt.image
Modifier and TypeMethodDescriptionabstract int
VolatileImage.validate(GraphicsConfiguration gc)
Attempts to restore the drawing surface of the image if the surface had been lost since the lastvalidate
call. -
Uses of GraphicsConfiguration in javax.print
Modifier and TypeMethodDescriptionstatic PrintService
ServiceUI.printDialog(GraphicsConfiguration gc, int x, int y, PrintService[] services, PrintService defaultService, DocFlavor flavor, PrintRequestAttributeSet attributes)
Presents a dialog to the user for selecting a print service (printer). -
Uses of GraphicsConfiguration in javax.swing
ModifierConstructorDescriptionJDialog(Dialog owner, String title, boolean modal, GraphicsConfiguration gc)
Creates a dialog with the specified title, ownerDialog
, modality andGraphicsConfiguration
.JDialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc)
Creates a dialog with the specified title, ownerFrame
, modality andGraphicsConfiguration
.JDialog(Window owner, String title, Dialog.ModalityType modalityType, GraphicsConfiguration gc)
Creates a dialog with the specified title, ownerWindow
, modality andGraphicsConfiguration
.Creates aFrame
in the specifiedGraphicsConfiguration
of a screen device and a blank title.JFrame(String title, GraphicsConfiguration gc)
Creates aJFrame
with the specified title and the specifiedGraphicsConfiguration
of a screen device.Creates a window with the specifiedGraphicsConfiguration
of a screen device.JWindow(Window owner, GraphicsConfiguration gc)
Creates a window with the specified owner window andGraphicsConfiguration
of a screen device.