|
xmlgraphics-commons 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.GraphicsDevice
org.apache.xmlgraphics.java2d.GenericGraphicsDevice
public class GenericGraphicsDevice
This implements the GraphicsDevice
interface as appropriate for the various output
configurations.
Field Summary |
---|
Fields inherited from class java.awt.GraphicsDevice |
---|
TYPE_IMAGE_BUFFER, TYPE_PRINTER, TYPE_RASTER_SCREEN |
Constructor Summary | |
---|---|
GenericGraphicsDevice(GraphicsConfiguration gc)
Create a new graphics2D device. |
Method Summary | |
---|---|
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" |
Methods inherited from class java.awt.GraphicsDevice |
---|
getAvailableAcceleratedMemory, 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 |
---|
public GenericGraphicsDevice(GraphicsConfiguration gc)
gc
- we should referenceMethod Detail |
---|
public GraphicsConfiguration getBestConfiguration(GraphicsConfigTemplate gct)
getBestConfiguration
in class GraphicsDevice
gct
- the template configuration
public GraphicsConfiguration[] getConfigurations()
getConfigurations
in class GraphicsDevice
public GraphicsConfiguration getDefaultConfiguration()
getDefaultConfiguration
in class GraphicsDevice
public String getIDstring()
getIDstring
in class GraphicsDevice
public int getType()
getType
in class GraphicsDevice
|
xmlgraphics-commons 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |