Package org.geotools.image.util
Class ComponentColorModelJAI
Object
ColorModel
ComponentColorModel
ComponentColorModelJAI
- All Implemented Interfaces:
Transparency
Deprecated.
This class is a leftover of JAI-JDK 1.4 compatibility bridge. It is deprecated and you're not supposed to use it
anymore. It is only kept around for backward compatibility. Won't be removed anytime soon, in order to support long
term serialization of ImageLayout descriptions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final boolean
Deprecated.Whatever usage of this class should be enabled or not.Fields inherited from class ColorModel
pixel_bits, transferType
Fields inherited from interface Transparency
BITMASK, OPAQUE, TRANSLUCENT
-
Constructor Summary
ConstructorsConstructorDescriptionComponentColorModelJAI
(ColorSpace colorSpace, boolean hasAlpha, boolean isAlphaPremultiplied, int transparency, int transferType) Deprecated.Construct a new color model.ComponentColorModelJAI
(ColorSpace colorSpace, int[] bits, boolean hasAlpha, boolean isAlphaPremultiplied, int transparency, int transferType) Deprecated.Construct a new color model. -
Method Summary
Modifier and TypeMethodDescriptioncreateCompatibleSampleModel
(int w, int h) Deprecated.Returns a compatible sample model.toString()
Deprecated.Returns theString
representation of the contents of thisColorModel
object.Methods inherited from class ComponentColorModel
coerceData, createCompatibleWritableRaster, equals, getAlpha, getAlpha, getAlphaRaster, getBlue, getBlue, getComponents, getComponents, getDataElement, getDataElement, getDataElements, getDataElements, getDataElements, getGreen, getGreen, getNormalizedComponents, getNormalizedComponents, getRed, getRed, getRGB, getRGB, getUnnormalizedComponents, hashCode, isCompatibleRaster, isCompatibleSampleModel
Methods inherited from class ColorModel
finalize, getColorSpace, getComponentSize, getComponentSize, getNumColorComponents, getNumComponents, getPixelSize, getRGBdefault, getTransferType, getTransparency, hasAlpha, isAlphaPremultiplied
-
Field Details
-
ENABLED
public static final boolean ENABLEDDeprecated.Whatever usage of this class should be enabled or not.- See Also:
-
-
Constructor Details
-
ComponentColorModelJAI
public ComponentColorModelJAI(ColorSpace colorSpace, int[] bits, boolean hasAlpha, boolean isAlphaPremultiplied, int transparency, int transferType) Deprecated.Construct a new color model. -
ComponentColorModelJAI
public ComponentColorModelJAI(ColorSpace colorSpace, boolean hasAlpha, boolean isAlphaPremultiplied, int transparency, int transferType) Deprecated.Construct a new color model.
-
-
Method Details
-
createCompatibleSampleModel
Deprecated.Returns a compatible sample model. This implementation is nearly identical to default J2SE's implementation, except that it construct a ImageN color model instead of a J2SE one.- Overrides:
createCompatibleSampleModel
in classComponentColorModel
-
toString
Deprecated.Returns theString
representation of the contents of thisColorModel
object.- Overrides:
toString
in classColorModel
- Returns:
- a
String
representing the contents of thisColorModel
object.
-