|
xmlgraphics-commons 2.3 | |||||||||
| 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(java.awt.GraphicsConfiguration gc)
Create a new graphics2D device. |
|
| Method Summary | |
|---|---|
java.awt.GraphicsConfiguration |
getBestConfiguration(java.awt.GraphicsConfigTemplate gct)
Ignore template and return the only config we have |
java.awt.GraphicsConfiguration[] |
getConfigurations()
Return an array of our one GraphicsConfig |
java.awt.GraphicsConfiguration |
getDefaultConfiguration()
Return out sole GraphicsConfig. |
java.lang.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(java.awt.GraphicsConfiguration gc)
gc - we should reference| Method Detail |
|---|
public java.awt.GraphicsConfiguration getBestConfiguration(java.awt.GraphicsConfigTemplate gct)
getBestConfiguration in class java.awt.GraphicsDevicegct - the template configuration
public java.awt.GraphicsConfiguration[] getConfigurations()
getConfigurations in class java.awt.GraphicsDevicepublic java.awt.GraphicsConfiguration getDefaultConfiguration()
getDefaultConfiguration in class java.awt.GraphicsDevicepublic java.lang.String getIDstring()
getIDstring in class java.awt.GraphicsDevicepublic int getType()
getType in class java.awt.GraphicsDevice
|
xmlgraphics-commons 2.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||