org.jfree.graphics2d.svg
Class SVGGraphicsDevice

java.lang.Object
  extended by java.awt.GraphicsDevice
      extended by org.jfree.graphics2d.svg.SVGGraphicsDevice

public class SVGGraphicsDevice
extends GraphicsDevice

A graphics device for JFreeSVG.


Field Summary
 
Fields inherited from class java.awt.GraphicsDevice
TYPE_IMAGE_BUFFER, TYPE_PRINTER, TYPE_RASTER_SCREEN
 
Constructor Summary
SVGGraphicsDevice(String id, GraphicsConfiguration defaultConfig)
          Creates a new instance.
 
Method Summary
 GraphicsConfiguration[] getConfigurations()
          Returns all configurations for this device.
 GraphicsConfiguration getDefaultConfiguration()
          Returns the default configuration for this device.
 String getIDstring()
          Returns the id string.
 int getType()
          Returns the device type.
 
Methods inherited from class java.awt.GraphicsDevice
getAvailableAcceleratedMemory, getBestConfiguration, getDisplayMode, getDisplayModes, getFullScreenWindow, isDisplayChangeSupported, isFullScreenSupported, setDisplayMode, setFullScreenWindow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGGraphicsDevice

public SVGGraphicsDevice(String id,
                         GraphicsConfiguration defaultConfig)
Creates a new instance.

Parameters:
id - the id.
defaultConfig - the default configuration.
Method Detail

getType

public int getType()
Returns the device type.

Specified by:
getType in class GraphicsDevice
Returns:
The device type.

getIDstring

public String getIDstring()
Returns the id string.

Specified by:
getIDstring in class GraphicsDevice
Returns:
The id string.

getConfigurations

public GraphicsConfiguration[] getConfigurations()
Returns all configurations for this device.

Specified by:
getConfigurations in class GraphicsDevice
Returns:
All configurations for this device.

getDefaultConfiguration

public GraphicsConfiguration getDefaultConfiguration()
Returns the default configuration for this device.

Specified by:
getDefaultConfiguration in class GraphicsDevice
Returns:
The default configuration for this device.


Copyright © 2015. All rights reserved.