java.awt
Class GraphicsConfiguration

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.awt.GraphicsConfiguration

public abstract class GraphicsConfiguration
extends Object sample code for java.lang.Object definition code for java.lang.Object

The GraphicsConfiguration class describes the characteristics of a graphics destination such as a printer or monitor. There can be many GraphicsConfiguration objects associated with a single graphics device, representing different drawing modes or capabilities. The corresponding native structure will vary from platform to platform. For example, on X11 windowing systems, each visual is a different GraphicsConfiguration. On Microsoft Windows, GraphicsConfigurations represent PixelFormats available in the current resolution and color depth.

In a virtual device multi-screen environment in which the desktop area could span multiple physical screen devices, the bounds of the GraphicsConfiguration objects are relative to the virtual coordinate system. When setting the location of a component, use getBounds sample code for java.awt.GraphicsConfiguration.getBounds() definition code for java.awt.GraphicsConfiguration.getBounds() to get the bounds of the desired GraphicsConfiguration and offset the location with the coordinates of the GraphicsConfiguration, as the following code sample illustrates:

      Frame f = new Frame(gc);  // where gc is a GraphicsConfiguration
      Rectangle bounds = gc.getBounds();
      f.setLocation(10 + bounds.x, 10 + bounds.y); 

To determine if your environment is a virtual device environment, call getBounds on all of the GraphicsConfiguration objects in your system. If any of the origins of the returned bounds is not (0, 0), your environment is a virtual device environment.

You can also use getBounds to determine the bounds of the virtual device. To do this, first call getBounds on all of the GraphicsConfiguration objects in your system. Then calculate the union of all of the bounds returned from the calls to getBounds. The union is the bounds of the virtual device. The following code sample calculates the bounds of the virtual device.

      Rectangle virtualBounds = new Rectangle();
      GraphicsEnvironment ge = GraphicsEnvironment.
              getLocalGraphicsEnvironment();
      GraphicsDevice[] gs =
              ge.getScreenDevices();
      for (int j = 0; j < gs.length; j++) { 
          GraphicsDevice gd = gs[j];
          GraphicsConfiguration[] gc =
              gd.getConfigurations();
          for (int i=0; i < gc.length; i++) {
              virtualBounds =
                  virtualBounds.union(gc[i].getBounds());
          }
      } 

See Also:
Window sample code for java.awt.Window definition code for java.awt.Window , Frame sample code for java.awt.Frame definition code for java.awt.Frame , GraphicsEnvironment sample code for java.awt.GraphicsEnvironment definition code for java.awt.GraphicsEnvironment , GraphicsDevice sample code for java.awt.GraphicsDevice definition code for java.awt.GraphicsDevice

Constructor Summary
protected GraphicsConfiguration sample code for java.awt.GraphicsConfiguration.GraphicsConfiguration() definition code for java.awt.GraphicsConfiguration.GraphicsConfiguration() ()
          This is an abstract class that cannot be instantiated directly.
 
Method Summary
abstract  BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage createCompatibleImage sample code for java.awt.GraphicsConfiguration.createCompatibleImage(int, int) definition code for java.awt.GraphicsConfiguration.createCompatibleImage(int, int) (int width, int height)
          Returns a BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage with a data layout and color model compatible with this GraphicsConfiguration.
abstract  BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage createCompatibleImage sample code for java.awt.GraphicsConfiguration.createCompatibleImage(int, int, int) definition code for java.awt.GraphicsConfiguration.createCompatibleImage(int, int, int) (int width, int height, int transparency)
          Returns a BufferedImage that supports the specified transparency and has a data layout and color model compatible with this GraphicsConfiguration.
abstract  VolatileImage sample code for java.awt.image.VolatileImage definition code for java.awt.image.VolatileImage createCompatibleVolatileImage sample code for java.awt.GraphicsConfiguration.createCompatibleVolatileImage(int, int) definition code for java.awt.GraphicsConfiguration.createCompatibleVolatileImage(int, int) (int width, int height)
          Returns a VolatileImage sample code for java.awt.image.VolatileImage definition code for java.awt.image.VolatileImage with a data layout and color model compatible with this GraphicsConfiguration.
 VolatileImage sample code for java.awt.image.VolatileImage definition code for java.awt.image.VolatileImage createCompatibleVolatileImage sample code for java.awt.GraphicsConfiguration.createCompatibleVolatileImage(int, int, java.awt.ImageCapabilities) definition code for java.awt.GraphicsConfiguration.createCompatibleVolatileImage(int, int, java.awt.ImageCapabilities) (int width, int height, ImageCapabilities sample code for java.awt.ImageCapabilities definition code for java.awt.ImageCapabilities  caps)
          Returns a VolatileImage sample code for java.awt.image.VolatileImage definition code for java.awt.image.VolatileImage with a data layout and color model compatible with this GraphicsConfiguration, using the specified image capabilities.
 VolatileImage sample code for java.awt.image.VolatileImage definition code for java.awt.image.VolatileImage createCompatibleVolatileImage sample code for java.awt.GraphicsConfiguration.createCompatibleVolatileImage(int, int, java.awt.ImageCapabilities, int) definition code for java.awt.GraphicsConfiguration.createCompatibleVolatileImage(int, int, java.awt.ImageCapabilities, int) (int width, int height, ImageCapabilities sample code for java.awt.ImageCapabilities definition code for java.awt.ImageCapabilities  caps, int transparency)
          Returns a VolatileImage sample code for java.awt.image.VolatileImage definition code for java.awt.image.VolatileImage with a data layout and color model compatible with this GraphicsConfiguration, using the specified image capabilities and transparency value.
abstract  VolatileImage sample code for java.awt.image.VolatileImage definition code for java.awt.image.VolatileImage createCompatibleVolatileImage sample code for java.awt.GraphicsConfiguration.createCompatibleVolatileImage(int, int, int) definition code for java.awt.GraphicsConfiguration.createCompatibleVolatileImage(int, int, int) (int width, int height, int transparency)
          Returns a VolatileImage sample code for java.awt.image.VolatileImage definition code for java.awt.image.VolatileImage with a data layout and color model compatible with this GraphicsConfiguration.
abstract  Rectangle sample code for java.awt.Rectangle definition code for java.awt.Rectangle getBounds sample code for java.awt.GraphicsConfiguration.getBounds() definition code for java.awt.GraphicsConfiguration.getBounds() ()
          Returns the bounds of the GraphicsConfiguration in the device coordinates.
 BufferCapabilities sample code for java.awt.BufferCapabilities definition code for java.awt.BufferCapabilities getBufferCapabilities sample code for java.awt.GraphicsConfiguration.getBufferCapabilities() definition code for java.awt.GraphicsConfiguration.getBufferCapabilities() ()
          Returns the buffering capabilities of this GraphicsConfiguration.
abstract  ColorModel sample code for java.awt.image.ColorModel definition code for java.awt.image.ColorModel getColorModel sample code for java.awt.GraphicsConfiguration.getColorModel() definition code for java.awt.GraphicsConfiguration.getColorModel() ()
          Returns the ColorModel sample code for java.awt.image.ColorModel definition code for java.awt.image.ColorModel associated with this GraphicsConfiguration.
abstract  ColorModel sample code for java.awt.image.ColorModel definition code for java.awt.image.ColorModel getColorModel sample code for java.awt.GraphicsConfiguration.getColorModel(int) definition code for java.awt.GraphicsConfiguration.getColorModel(int) (int transparency)
          Returns the ColorModel associated with this GraphicsConfiguration that supports the specified transparency.
abstract  AffineTransform sample code for java.awt.geom.AffineTransform definition code for java.awt.geom.AffineTransform getDefaultTransform sample code for java.awt.GraphicsConfiguration.getDefaultTransform() definition code for java.awt.GraphicsConfiguration.getDefaultTransform() ()
          Returns the default AffineTransform sample code for java.awt.geom.AffineTransform definition code for java.awt.geom.AffineTransform for this GraphicsConfiguration.
abstract  GraphicsDevice sample code for java.awt.GraphicsDevice definition code for java.awt.GraphicsDevice getDevice sample code for java.awt.GraphicsConfiguration.getDevice() definition code for java.awt.GraphicsConfiguration.getDevice() ()
          Returns the GraphicsDevice sample code for java.awt.GraphicsDevice definition code for java.awt.GraphicsDevice associated with this GraphicsConfiguration.
 ImageCapabilities sample code for java.awt.ImageCapabilities definition code for java.awt.ImageCapabilities getImageCapabilities sample code for java.awt.GraphicsConfiguration.getImageCapabilities() definition code for java.awt.GraphicsConfiguration.getImageCapabilities() ()
          Returns the image capabilities of this GraphicsConfiguration.
abstract  AffineTransform sample code for java.awt.geom.AffineTransform definition code for java.awt.geom.AffineTransform getNormalizingTransform sample code for java.awt.GraphicsConfiguration.getNormalizingTransform() definition code for java.awt.GraphicsConfiguration.getNormalizingTransform() ()
          Returns a AffineTransform that can be concatenated with the default AffineTransform of a GraphicsConfiguration so that 72 units in user space equals 1 inch in device space.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

GraphicsConfiguration sample code for java.awt.GraphicsConfiguration() definition code for java.awt.GraphicsConfiguration()

protected GraphicsConfiguration()
This is an abstract class that cannot be instantiated directly. Instances must be obtained from a suitable factory or query method.

See Also:
GraphicsDevice.getConfigurations() sample code for java.awt.GraphicsDevice.getConfigurations() definition code for java.awt.GraphicsDevice.getConfigurations() , GraphicsDevice.getDefaultConfiguration() sample code for java.awt.GraphicsDevice.getDefaultConfiguration() definition code for java.awt.GraphicsDevice.getDefaultConfiguration() , GraphicsDevice.getBestConfiguration(java.awt.GraphicsConfigTemplate) sample code for java.awt.GraphicsDevice.getBestConfiguration(java.awt.GraphicsConfigTemplate) definition code for java.awt.GraphicsDevice.getBestConfiguration(java.awt.GraphicsConfigTemplate) , Graphics2D.getDeviceConfiguration() sample code for java.awt.Graphics2D.getDeviceConfiguration() definition code for java.awt.Graphics2D.getDeviceConfiguration()
Method Detail

getDevice sample code for java.awt.GraphicsConfiguration.getDevice() definition code for java.awt.GraphicsConfiguration.getDevice()

public abstract GraphicsDevice sample code for java.awt.GraphicsDevice definition code for java.awt.GraphicsDevice  getDevice()
Returns the GraphicsDevice sample code for java.awt.GraphicsDevice definition code for java.awt.GraphicsDevice associated with this GraphicsConfiguration.

Returns:
a GraphicsDevice object that is associated with this GraphicsConfiguration.

createCompatibleImage sample code for java.awt.GraphicsConfiguration.createCompatibleImage(int, int) definition code for java.awt.GraphicsConfiguration.createCompatibleImage(int, int)

public abstract BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  createCompatibleImage(int width,
                                                    int height)
Returns a BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage with a data layout and color model compatible with this GraphicsConfiguration. This method has nothing to do with memory-mapping a device. The returned BufferedImage has a layout and color model that is closest to this native device configuration and can therefore be optimally blitted to this device.

Parameters:
width - the width of the returned BufferedImage
height - the height of the returned BufferedImage
Returns:
a BufferedImage whose data layout and color model is compatible with this GraphicsConfiguration.

createCompatibleVolatileImage sample code for java.awt.GraphicsConfiguration.createCompatibleVolatileImage(int, int) definition code for java.awt.GraphicsConfiguration.createCompatibleVolatileImage(int, int)

public abstract VolatileImage sample code for java.awt.image.VolatileImage definition code for java.awt.image.VolatileImage  createCompatibleVolatileImage(int width,
                                                            int height)
Returns a VolatileImage sample code for java.awt.image.VolatileImage definition code for java.awt.image.VolatileImage with a data layout and color model compatible with this GraphicsConfiguration. The returned VolatileImage may have data that is stored optimally for the underlying graphics device and may therefore benefit from platform-specific rendering acceleration.

Parameters:
width - the width of the returned VolatileImage
height - the height of the returned VolatileImage
Returns:
a VolatileImage whose data layout and color model is compatible with this GraphicsConfiguration.
See Also:
Component.createVolatileImage(int, int) sample code for java.awt.Component.createVolatileImage(int, int) definition code for java.awt.Component.createVolatileImage(int, int)

createCompatibleVolatileImage sample code for java.awt.GraphicsConfiguration.createCompatibleVolatileImage(int, int, int) definition code for java.awt.GraphicsConfiguration.createCompatibleVolatileImage(int, int, int)

public abstract VolatileImage sample code for java.awt.image.VolatileImage definition code for java.awt.image.VolatileImage  createCompatibleVolatileImage(int width,
                                                            int height,
                                                            int transparency)
Returns a VolatileImage sample code for java.awt.image.VolatileImage definition code for java.awt.image.VolatileImage with a data layout and color model compatible with this GraphicsConfiguration. The returned VolatileImage may have data that is stored optimally for the underlying graphics device and may therefore benefit from platform-specific rendering acceleration.

Parameters:
width - the width of the returned VolatileImage
height - the height of the returned VolatileImage
transparency - the specified transparency mode
Returns:
a VolatileImage whose data layout and color model is compatible with this GraphicsConfiguration.
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if the transparency is not a valid value
Since:
1.5
See Also:
Transparency.OPAQUE sample code for java.awt.Transparency.OPAQUE definition code for java.awt.Transparency.OPAQUE , Transparency.BITMASK sample code for java.awt.Transparency.BITMASK definition code for java.awt.Transparency.BITMASK , Transparency.TRANSLUCENT sample code for java.awt.Transparency.TRANSLUCENT definition code for java.awt.Transparency.TRANSLUCENT , Component.createVolatileImage(int, int) sample code for java.awt.Component.createVolatileImage(int, int) definition code for java.awt.Component.createVolatileImage(int, int)

createCompatibleVolatileImage sample code for java.awt.GraphicsConfiguration.createCompatibleVolatileImage(int, int, java.awt.ImageCapabilities) definition code for java.awt.GraphicsConfiguration.createCompatibleVolatileImage(int, int, java.awt.ImageCapabilities)

public VolatileImage sample code for java.awt.image.VolatileImage definition code for java.awt.image.VolatileImage  createCompatibleVolatileImage(int width,
                                                   int height,
                                                   ImageCapabilities sample code for java.awt.ImageCapabilities definition code for java.awt.ImageCapabilities  caps)
                                            throws AWTException sample code for java.awt.AWTException definition code for java.awt.AWTException 
Returns a VolatileImage sample code for java.awt.image.VolatileImage definition code for java.awt.image.VolatileImage with a data layout and color model compatible with this GraphicsConfiguration, using the specified image capabilities. The returned VolatileImage has a layout and color model that is closest to this native device configuration and can therefore be optimally blitted to this device.

Parameters:
width - the width of the returned VolatileImage
height - the height of the returned VolatileImage
caps - the image capabilities
Returns:
a VolatileImage whose data layout and color model is compatible with this GraphicsConfiguration.
Throws:
AWTException sample code for java.awt.AWTException definition code for java.awt.AWTException - if the supplied image capabilities could not be met by this graphics configuration
Since:
1.4

createCompatibleVolatileImage sample code for java.awt.GraphicsConfiguration.createCompatibleVolatileImage(int, int, java.awt.ImageCapabilities, int) definition code for java.awt.GraphicsConfiguration.createCompatibleVolatileImage(int, int, java.awt.ImageCapabilities, int)

public VolatileImage sample code for java.awt.image.VolatileImage definition code for java.awt.image.VolatileImage  createCompatibleVolatileImage(int width,
                                                   int height,
                                                   ImageCapabilities sample code for java.awt.ImageCapabilities definition code for java.awt.ImageCapabilities  caps,
                                                   int transparency)
                                            throws AWTException sample code for java.awt.AWTException definition code for java.awt.AWTException 
Returns a VolatileImage sample code for java.awt.image.VolatileImage definition code for java.awt.image.VolatileImage with a data layout and color model compatible with this GraphicsConfiguration, using the specified image capabilities and transparency value. The returned VolatileImage has a layout and color model that is closest to this native device configuration and can therefore be optimally blitted to this device.

Parameters:
width - the width of the returned VolatileImage
height - the height of the returned VolatileImage
caps - the image capabilities
transparency - the specified transparency mode
Returns:
a VolatileImage whose data layout and color model is compatible with this GraphicsConfiguration.
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if the transparency is not a valid value
AWTException sample code for java.awt.AWTException definition code for java.awt.AWTException - if the supplied image capabilities could not be met by this graphics configuration
Since:
1.5
See Also:
Transparency.OPAQUE sample code for java.awt.Transparency.OPAQUE definition code for java.awt.Transparency.OPAQUE , Transparency.BITMASK sample code for java.awt.Transparency.BITMASK definition code for java.awt.Transparency.BITMASK , Transparency.TRANSLUCENT sample code for java.awt.Transparency.TRANSLUCENT definition code for java.awt.Transparency.TRANSLUCENT , Component.createVolatileImage(int, int) sample code for java.awt.Component.createVolatileImage(int, int) definition code for java.awt.Component.createVolatileImage(int, int)

createCompatibleImage sample code for java.awt.GraphicsConfiguration.createCompatibleImage(int, int, int) definition code for java.awt.GraphicsConfiguration.createCompatibleImage(int, int, int)

public abstract BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  createCompatibleImage(int width,
                                                    int height,
                                                    int transparency)
Returns a BufferedImage that supports the specified transparency and has a data layout and color model compatible with this GraphicsConfiguration. This method has nothing to do with memory-mapping a device. The returned BufferedImage has a layout and color model that can be optimally blitted to a device with this GraphicsConfiguration.

Parameters:
width - the width of the returned BufferedImage
height - the height of the returned BufferedImage
transparency - the specified transparency mode
Returns:
a BufferedImage whose data layout and color model is compatible with this GraphicsConfiguration and also supports the specified transparency.
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if the transparency is not a valid value
See Also:
Transparency.OPAQUE sample code for java.awt.Transparency.OPAQUE definition code for java.awt.Transparency.OPAQUE , Transparency.BITMASK sample code for java.awt.Transparency.BITMASK definition code for java.awt.Transparency.BITMASK , Transparency.TRANSLUCENT sample code for java.awt.Transparency.TRANSLUCENT definition code for java.awt.Transparency.TRANSLUCENT

getColorModel sample code for java.awt.GraphicsConfiguration.getColorModel() definition code for java.awt.GraphicsConfiguration.getColorModel()

public abstract ColorModel sample code for java.awt.image.ColorModel definition code for java.awt.image.ColorModel  getColorModel()
Returns the ColorModel sample code for java.awt.image.ColorModel definition code for java.awt.image.ColorModel associated with this GraphicsConfiguration.

Returns:
a ColorModel object that is associated with this GraphicsConfiguration.

getColorModel sample code for java.awt.GraphicsConfiguration.getColorModel(int) definition code for java.awt.GraphicsConfiguration.getColorModel(int)

public abstract ColorModel sample code for java.awt.image.ColorModel definition code for java.awt.image.ColorModel  getColorModel(int transparency)
Returns the ColorModel associated with this GraphicsConfiguration that supports the specified transparency.

Parameters:
transparency - the specified transparency mode
Returns:
a ColorModel object that is associated with this GraphicsConfiguration and supports the specified transparency or null if the transparency is not a valid value.
See Also:
Transparency.OPAQUE sample code for java.awt.Transparency.OPAQUE definition code for java.awt.Transparency.OPAQUE , Transparency.BITMASK sample code for java.awt.Transparency.BITMASK definition code for java.awt.Transparency.BITMASK , Transparency.TRANSLUCENT sample code for java.awt.Transparency.TRANSLUCENT definition code for java.awt.Transparency.TRANSLUCENT

getDefaultTransform sample code for java.awt.GraphicsConfiguration.getDefaultTransform() definition code for java.awt.GraphicsConfiguration.getDefaultTransform()

public abstract AffineTransform sample code for java.awt.geom.AffineTransform definition code for java.awt.geom.AffineTransform  getDefaultTransform()
Returns the default AffineTransform sample code for java.awt.geom.AffineTransform definition code for java.awt.geom.AffineTransform for this GraphicsConfiguration. This AffineTransform is typically the Identity transform for most normal screens. The default AffineTransform maps coordinates onto the device such that 72 user space coordinate units measure approximately 1 inch in device space. The normalizing transform can be used to make this mapping more exact. Coordinates in the coordinate space defined by the default AffineTransform for screen and printer devices have the origin in the upper left-hand corner of the target region of the device, with X coordinates increasing to the right and Y coordinates increasing downwards. For image buffers not associated with a device, such as those not created by createCompatibleImage, this AffineTransform is the Identity transform.

Returns:
the default AffineTransform for this GraphicsConfiguration.

getNormalizingTransform sample code for java.awt.GraphicsConfiguration.getNormalizingTransform() definition code for java.awt.GraphicsConfiguration.getNormalizingTransform()

public abstract AffineTransform sample code for java.awt.geom.AffineTransform definition code for java.awt.geom.AffineTransform  getNormalizingTransform()
Returns a AffineTransform that can be concatenated with the default AffineTransform of a GraphicsConfiguration so that 72 units in user space equals 1 inch in device space.

For a particular Graphics2D sample code for java.awt.Graphics2D definition code for java.awt.Graphics2D , g, one can reset the transformation to create such a mapping by using the following pseudocode:

      GraphicsConfiguration gc = g.getGraphicsConfiguration();

      g.setTransform(gc.getDefaultTransform());
      g.transform(gc.getNormalizingTransform());
 
Note that sometimes this AffineTransform is identity, such as for printers or metafile output, and that this AffineTransform is only as accurate as the information supplied by the underlying system. For image buffers not associated with a device, such as those not created by createCompatibleImage, this AffineTransform is the Identity transform since there is no valid distance measurement.

Returns:
an AffineTransform to concatenate to the default AffineTransform so that 72 units in user space is mapped to 1 inch in device space.

getBounds sample code for java.awt.GraphicsConfiguration.getBounds() definition code for java.awt.GraphicsConfiguration.getBounds()

public abstract Rectangle sample code for java.awt.Rectangle definition code for java.awt.Rectangle  getBounds()
Returns the bounds of the GraphicsConfiguration in the device coordinates. In a multi-screen environment with a virtual device, the bounds can have negative X or Y origins.

Returns:
the bounds of the area covered by this GraphicsConfiguration.
Since:
1.3

getBufferCapabilities sample code for java.awt.GraphicsConfiguration.getBufferCapabilities() definition code for java.awt.GraphicsConfiguration.getBufferCapabilities()

public BufferCapabilities sample code for java.awt.BufferCapabilities definition code for java.awt.BufferCapabilities  getBufferCapabilities()
Returns the buffering capabilities of this GraphicsConfiguration.

Returns:
the buffering capabilities of this graphics configuration object
Since:
1.4

getImageCapabilities sample code for java.awt.GraphicsConfiguration.getImageCapabilities() definition code for java.awt.GraphicsConfiguration.getImageCapabilities()

public ImageCapabilities sample code for java.awt.ImageCapabilities definition code for java.awt.ImageCapabilities  getImageCapabilities()
Returns the image capabilities of this GraphicsConfiguration.

Returns:
the image capabilities of this graphics configuration object
Since:
1.4