Class AbstractGraphicsConfiguration
java.lang.Object
java.awt.GraphicsConfiguration
org.apache.xmlgraphics.java2d.AbstractGraphicsConfiguration
- Direct Known Subclasses:
GraphicsConfigurationWithoutTransparency, GraphicsConfigurationWithTransparency
Adapter to allow subclassing java.awt.GraphicsConfiguration without
compilation errors.
The version for JDK 1.4 needs to add an override for the abstract
createCompatibleVolatileImage() method. It can't be overidden
for JDK 1.3 because there is no VolatileImage there.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCompatibleVolatileImage(int width, int height) createCompatibleVolatileImage(int width, int height, int transparency) Methods inherited from class GraphicsConfiguration
createCompatibleImage, createCompatibleImage, createCompatibleVolatileImage, createCompatibleVolatileImage, getBounds, getBufferCapabilities, getColorModel, getColorModel, getDefaultTransform, getDevice, getImageCapabilities, getNormalizingTransform, isTranslucencyCapable
-
Constructor Details
-
AbstractGraphicsConfiguration
public AbstractGraphicsConfiguration()
-
-
Method Details
-
createCompatibleVolatileImage
- Overrides:
createCompatibleVolatileImagein classGraphicsConfiguration- Since:
- JDK 1.4
- See Also:
-
createCompatibleVolatileImage
- Overrides:
createCompatibleVolatileImagein classGraphicsConfiguration- Since:
- JDK 1.5
- See Also:
-