站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java 2 SDK v1.4.2, Java 2 SDK 英文文档

Uses of Class java.awt.GraphicsConfiguration (Java 2 Platform SE v1.4.2) - Java 2 SDK v1.4.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Std. Ed. v1.4.2

Uses of Class
java.awt.GraphicsConfiguration

Packages that use GraphicsConfiguration
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 JavaTM 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
abstract  GraphicsConfiguration GraphicsConfigTemplate.getBestConfiguration(GraphicsConfiguration[] gc)
          Returns the "best" configuration possible that passes the criteria defined in the GraphicsConfigTemplate.
abstract  GraphicsConfiguration Graphics2D.getDeviceConfiguration()
          Returns the device configuration associated with this Graphics2D.
 GraphicsConfiguration Window.getGraphicsConfiguration()
          This method returns the GraphicsConfiguration used by this Window.
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.
 GraphicsConfiguration GraphicsDevice.getBestConfiguration(GraphicsConfigTemplate gct)
          Returns the "best" configuration possible that passes the criteria defined in the GraphicsConfigTemplate.
 GraphicsConfiguration Component.getGraphicsConfiguration()
          Gets the GraphicsConfiguration associated with this Component.
 

Methods in java.awt with parameters of type GraphicsConfiguration
abstract  GraphicsConfiguration GraphicsConfigTemplate.getBestConfiguration(GraphicsConfiguration[] gc)
          Returns the "best" configuration possible that passes the criteria defined in the GraphicsConfigTemplate.
abstract  boolean GraphicsConfigTemplate.isGraphicsConfigSupported(GraphicsConfiguration gc)
          Returns a boolean indicating whether or not the specified GraphicsConfiguration can be used to create a drawing surface that supports the indicated features.
 Insets Toolkit.getScreenInsets(GraphicsConfiguration gc)
          Gets the insets of the screen.
 

Constructors in java.awt with parameters of type GraphicsConfiguration
Dialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc)
          Constructs an initially invisible Dialog with the specified owner frame, title, modality, and GraphicsConfiguration.
Dialog(Dialog owner, String title, boolean modal, GraphicsConfiguration gc)
          Constructs an initially invisible Dialog with the specified owner dialog, title, modality, and GraphicsConfiguration.
Canvas(GraphicsConfiguration config)
          Constructs a new Canvas given a GraphicsConfiguration object.
Window(Window owner, GraphicsConfiguration gc)
          Constructs a new invisible window with the specified window as its owner and a GraphicsConfiguration of a screen device.
Frame(GraphicsConfiguration gc)
          Create a Frame with the specified GraphicsConfiguration of a screen device.
Frame(String title, GraphicsConfiguration gc)
          Constructs a new, initially invisible Frame object with the specified title and a GraphicsConfiguration.
 

Uses of GraphicsConfiguration in java.awt.image
 

Methods in java.awt.image with parameters of type GraphicsConfiguration
abstract  int VolatileImage.validate(GraphicsConfiguration gc)
          Attempts to restore the drawing surface of the image if the surface had been lost since the last validate call.
 

Uses of GraphicsConfiguration in javax.print
 

Methods in javax.print with parameters of type GraphicsConfiguration
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
JDialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc)
          Creates a modal or non-modal dialog with the specified title, owner Frame, and GraphicsConfiguration.
JDialog(Dialog owner, String title, boolean modal, GraphicsConfiguration gc)
          Creates a modal or non-modal dialog with the specified title, owner Dialog, and GraphicsConfiguration.
JWindow(GraphicsConfiguration gc)
          Creates a window with the specified GraphicsConfiguration of a screen device.
JWindow(Window owner, GraphicsConfiguration gc)
          Creates a window with the specified owner window and GraphicsConfiguration of a screen device.
JFrame(GraphicsConfiguration gc)
          Creates a Frame in the specified GraphicsConfiguration of a screen device and a blank title.
JFrame(String title, GraphicsConfiguration gc)
          Creates a JFrame with the specified title and the specified GraphicsConfiguration of a screen device.
 


JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.