
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_color_ColorSpace__
#define __java_awt_color_ColorSpace__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      namespace color
      {
          class ColorSpace;
      }
    }
  }
}

class java::awt::color::ColorSpace : public ::java::lang::Object
{

public: // actually protected
  ColorSpace(jint, jint);
public:
  static ::java::awt::color::ColorSpace * getInstance(jint);
  virtual jboolean isCS_sRGB();
  virtual JArray< jfloat > * toRGB(JArray< jfloat > *) = 0;
  virtual JArray< jfloat > * fromRGB(JArray< jfloat > *) = 0;
  virtual JArray< jfloat > * toCIEXYZ(JArray< jfloat > *) = 0;
  virtual JArray< jfloat > * fromCIEXYZ(JArray< jfloat > *) = 0;
  virtual jint getType();
  virtual jint getNumComponents();
  virtual ::java::lang::String * getName(jint);
  virtual jfloat getMinValue(jint);
  virtual jfloat getMaxValue(jint);
private:
  static const jlong serialVersionUID = -409452704308689724LL;
public:
  static const jint TYPE_XYZ = 0;
  static const jint TYPE_Lab = 1;
  static const jint TYPE_Luv = 2;
  static const jint TYPE_YCbCr = 3;
  static const jint TYPE_Yxy = 4;
  static const jint TYPE_RGB = 5;
  static const jint TYPE_GRAY = 6;
  static const jint TYPE_HSV = 7;
  static const jint TYPE_HLS = 8;
  static const jint TYPE_CMYK = 9;
  static const jint TYPE_CMY = 11;
  static const jint TYPE_2CLR = 12;
  static const jint TYPE_3CLR = 13;
  static const jint TYPE_4CLR = 14;
  static const jint TYPE_5CLR = 15;
  static const jint TYPE_6CLR = 16;
  static const jint TYPE_7CLR = 17;
  static const jint TYPE_8CLR = 18;
  static const jint TYPE_9CLR = 19;
  static const jint TYPE_ACLR = 20;
  static const jint TYPE_BCLR = 21;
  static const jint TYPE_CCLR = 22;
  static const jint TYPE_DCLR = 23;
  static const jint TYPE_ECLR = 24;
  static const jint TYPE_FCLR = 25;
  static const jint CS_sRGB = 1000;
  static const jint CS_LINEAR_RGB = 1004;
  static const jint CS_CIEXYZ = 1001;
  static const jint CS_PYCC = 1002;
  static const jint CS_GRAY = 1003;
private:
  static const jint CS_BASE = 1000;
  static const jint CS_END = 1005;
  static const jint CS_COUNT = 5;
  static JArray< ::java::awt::color::ColorSpace * > * INSTANCES;
public: // actually package-private
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
  jint numComponents;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_color_ColorSpace__
