public class GenericGraphicsDevice extends GraphicsDevice
GraphicsDevice interface as appropriate for the various output
configurations.GraphicsDevice.WindowTranslucencyTYPE_IMAGE_BUFFER, TYPE_PRINTER, TYPE_RASTER_SCREEN| Constructor and Description |
|---|
GenericGraphicsDevice(GraphicsConfiguration gc)
Create a new graphics2D device.
|
| Modifier and Type | Method and Description |
|---|---|
GraphicsConfiguration |
getBestConfiguration(GraphicsConfigTemplate gct)
Ignore template and return the only config we have
|
GraphicsConfiguration[] |
getConfigurations()
Return an array of our one GraphicsConfig
|
GraphicsConfiguration |
getDefaultConfiguration()
Return out sole GraphicsConfig.
|
String |
getIDstring()
Generate an IdString..
|
int |
getType()
Let the caller know that we are "a printer"
|
getAvailableAcceleratedMemory, getDisplayMode, getDisplayModes, getFullScreenWindow, isDisplayChangeSupported, isFullScreenSupported, isWindowTranslucencySupported, setDisplayMode, setFullScreenWindowpublic GenericGraphicsDevice(GraphicsConfiguration gc)
gc - we should referencepublic GraphicsConfiguration getBestConfiguration(GraphicsConfigTemplate gct)
getBestConfiguration in class GraphicsDevicegct - the template configurationpublic GraphicsConfiguration[] getConfigurations()
getConfigurations in class GraphicsDevicepublic GraphicsConfiguration getDefaultConfiguration()
getDefaultConfiguration in class GraphicsDevicepublic String getIDstring()
getIDstring in class GraphicsDevicepublic int getType()
getType in class GraphicsDeviceCopyright © 2025 Apache Software Foundation. All rights reserved.