Class ComponentColorModelJAI

Object
ColorModel
ComponentColorModel
ComponentColorModelJAI
All Implemented Interfaces:
Transparency

@Deprecated public class ComponentColorModelJAI extends ComponentColorModel
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 Details

    • ENABLED

      public static final boolean ENABLED
      Deprecated.
      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

      public SampleModel createCompatibleSampleModel(int w, int h)
      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 class ComponentColorModel
    • toString

      public String toString()
      Deprecated.
      Returns the String representation of the contents of this ColorModelobject.
      Overrides:
      toString in class ColorModel
      Returns:
      a String representing the contents of this ColorModel object.