Uses of Class
java.awt.GraphicsConfiguration
-
Packages that use GraphicsConfiguration 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™ 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. -
-
Uses of GraphicsConfiguration in java.awt
Methods in java.awt that return GraphicsConfiguration Modifier and Type Method Description abstract GraphicsConfiguration
GraphicsConfigTemplate. getBestConfiguration(GraphicsConfiguration[] gc)
Returns the "best" configuration possible that passes the criteria defined in theGraphicsConfigTemplate
.GraphicsConfiguration
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
.GraphicsConfiguration
Component. getGraphicsConfiguration()
Gets theGraphicsConfiguration
associated with thisComponent
.Methods in java.awt with parameters of type GraphicsConfiguration Modifier and Type Method Description abstract GraphicsConfiguration
GraphicsConfigTemplate. getBestConfiguration(GraphicsConfiguration[] gc)
Returns the "best" configuration possible that passes the criteria defined in theGraphicsConfigTemplate
.ImageCapabilities
Image. getCapabilities(GraphicsConfiguration gc)
Returns an ImageCapabilities object which can be inquired as to the capabilities of this Image on the specified GraphicsConfiguration.Insets
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.Constructors in java.awt with parameters of type GraphicsConfiguration Constructor Description Canvas(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
.Frame(GraphicsConfiguration gc)
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
Methods in java.awt.image with parameters of type GraphicsConfiguration Modifier and Type Method Description abstract 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
Methods in javax.print with parameters of type GraphicsConfiguration Modifier and Type Method Description static 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
Constructors in javax.swing with parameters of type GraphicsConfiguration Constructor Description JDialog(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
.JFrame(GraphicsConfiguration gc)
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.JWindow(GraphicsConfiguration gc)
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.
-