Package com.orsonpdf
Class PDFGraphicsDevice
java.lang.Object
java.awt.GraphicsDevice
com.orsonpdf.PDFGraphicsDevice
A graphics device for use in the
PDFGraphicsConfiguration
class.-
Nested Class Summary
Nested classes/interfaces inherited from class java.awt.GraphicsDevice
GraphicsDevice.WindowTranslucency
-
Field Summary
FieldsFields inherited from class java.awt.GraphicsDevice
TYPE_IMAGE_BUFFER, TYPE_PRINTER, TYPE_RASTER_SCREEN
-
Constructor Summary
ConstructorsConstructorDescriptionPDFGraphicsDevice
(String id, GraphicsConfiguration defaultConfig) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns all configurations for this device.Returns the default configuration for this device.Returns the id string.int
getType()
Returns the device type.Methods inherited from class java.awt.GraphicsDevice
getAvailableAcceleratedMemory, getBestConfiguration, getDisplayMode, getDisplayModes, getFullScreenWindow, isDisplayChangeSupported, isFullScreenSupported, isWindowTranslucencySupported, setDisplayMode, setFullScreenWindow
-
Field Details
-
id
-
defaultConfig
GraphicsConfiguration defaultConfig
-
-
Constructor Details
-
PDFGraphicsDevice
Creates a new instance.- Parameters:
id
- the id.defaultConfig
- the default configuration.
-
-
Method Details
-
getType
public int getType()Returns the device type.- Specified by:
getType
in classGraphicsDevice
- Returns:
- The device type.
-
getIDstring
Returns the id string.- Specified by:
getIDstring
in classGraphicsDevice
- Returns:
- The id string.
-
getConfigurations
Returns all configurations for this device.- Specified by:
getConfigurations
in classGraphicsDevice
- Returns:
- All configurations for this device.
-
getDefaultConfiguration
Returns the default configuration for this device.- Specified by:
getDefaultConfiguration
in classGraphicsDevice
- Returns:
- The default configuration for this device.
-