java.lang.Object
java.awt.GraphicsDevice
org.jfree.svg.SVGGraphicsDevice
A graphics device for JFreeSVG.
Nested Class Summary
Nested classes/interfaces inherited from class GraphicsDevice
GraphicsDevice.WindowTranslucencyField Summary
FieldsModifier and TypeFieldDescription(package private) GraphicsConfigurationThe default configurationprivate final StringThe device idFields inherited from class GraphicsDevice
TYPE_IMAGE_BUFFER, TYPE_PRINTER, TYPE_RASTER_SCREENConstructor Summary
ConstructorsConstructorDescriptionSVGGraphicsDevice(String id, GraphicsConfiguration defaultConfig) Creates a new instance.Method Summary
All MethodsModifier and TypeMethodDescriptionReturns all configurations for this device.Returns the default configuration for this device.Returns the id string.intgetType()Returns the device type.
Field Details
id
The device iddefaultConfig
GraphicsConfiguration defaultConfigThe default configuration
Constructor Details
SVGGraphicsDevice
Creates a new instance.- Parameters:
id- the device id, returned unchanged by getIDString()defaultConfig- the default configuration.
Method Details
getType
public int getType()Returns the device type.- Specified by:
getTypein classGraphicsDevice- Returns:
- The device type.
getIDstring
Returns the id string.- Specified by:
getIDstringin classGraphicsDevice- Returns:
- The id string.
getConfigurations
Returns all configurations for this device.- Specified by:
getConfigurationsin classGraphicsDevice- Returns:
- All configurations for this device.
getDefaultConfiguration
Returns the default configuration for this device.- Specified by:
getDefaultConfigurationin classGraphicsDevice- Returns:
- The default configuration for this device.