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

#ifndef __javax_imageio_ImageTypeSpecifier__
#define __javax_imageio_ImageTypeSpecifier__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      namespace color
      {
          class ColorSpace;
      }
      namespace image
      {
          class BufferedImage;
          class ColorModel;
          class RenderedImage;
          class SampleModel;
      }
    }
  }
  namespace javax
  {
    namespace imageio
    {
        class ImageTypeSpecifier;
    }
  }
}

class javax::imageio::ImageTypeSpecifier : public ::java::lang::Object
{

public:
  ImageTypeSpecifier(::java::awt::image::ColorModel *, ::java::awt::image::SampleModel *);
  ImageTypeSpecifier(::java::awt::image::RenderedImage *);
  static ::javax::imageio::ImageTypeSpecifier * createBanded(::java::awt::color::ColorSpace *, JArray< jint > *, JArray< jint > *, jint, jboolean, jboolean);
  virtual ::java::awt::image::BufferedImage * createBufferedImage(jint, jint);
  static ::javax::imageio::ImageTypeSpecifier * createFromBufferedImageType(jint);
  static ::javax::imageio::ImageTypeSpecifier * createFromRenderedImage(::java::awt::image::RenderedImage *);
  static ::javax::imageio::ImageTypeSpecifier * createGrayscale(jint, jint, jboolean);
  static ::javax::imageio::ImageTypeSpecifier * createGrayscale(jint, jint, jboolean, jboolean);
  static ::javax::imageio::ImageTypeSpecifier * createIndexed(JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *, jint, jint);
  static ::javax::imageio::ImageTypeSpecifier * createInterleaved(::java::awt::color::ColorSpace *, JArray< jint > *, jint, jboolean, jboolean);
  static ::javax::imageio::ImageTypeSpecifier * createPacked(::java::awt::color::ColorSpace *, jint, jint, jint, jint, jint, jboolean);
  virtual jint getBitsPerBand(jint);
  virtual jint getBufferedImageType();
  virtual ::java::awt::image::SampleModel * getSampleModel(jint, jint);
  virtual ::java::awt::image::ColorModel * getColorModel();
  virtual jint getNumBands();
  virtual jint getNumComponents();
  virtual ::java::awt::image::SampleModel * getSampleModel();
public: // actually protected
  ::java::awt::image::ColorModel * __attribute__((aligned(__alignof__( ::java::lang::Object)))) colorModel;
  ::java::awt::image::SampleModel * sampleModel;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_imageio_ImageTypeSpecifier__
