public class GenericGraphicsDevice
extends java.awt.GraphicsDevice
GraphicsDevice interface as appropriate for the various output
configurations.| Constructor | Description |
|---|---|
GenericGraphicsDevice(java.awt.GraphicsConfiguration gc) |
Create a new graphics2D device.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.awt.GraphicsConfiguration |
getBestConfiguration(java.awt.GraphicsConfigTemplate gct) |
Ignore template and return the only config we have
|
java.awt.GraphicsConfiguration[] |
getConfigurations() |
Return an array of our one GraphicsConfig
|
java.awt.GraphicsConfiguration |
getDefaultConfiguration() |
Return out sole GraphicsConfig.
|
java.lang.String |
getIDstring() |
Generate an IdString..
|
int |
getType() |
Let the caller know that we are "a printer"
|
public GenericGraphicsDevice(java.awt.GraphicsConfiguration gc)
gc - we should referencepublic java.awt.GraphicsConfiguration getBestConfiguration(java.awt.GraphicsConfigTemplate gct)
getBestConfiguration in class java.awt.GraphicsDevicegct - the template configurationpublic java.awt.GraphicsConfiguration[] getConfigurations()
getConfigurations in class java.awt.GraphicsDevicepublic java.awt.GraphicsConfiguration getDefaultConfiguration()
getDefaultConfiguration in class java.awt.GraphicsDevicepublic java.lang.String getIDstring()
getIDstring in class java.awt.GraphicsDevicepublic int getType()
getType in class java.awt.GraphicsDeviceCopyright 1999-2018 The Apache Software Foundation. All Rights Reserved.