ImageWriter.h 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_imageio_ImageWriter__
  3. #define __javax_imageio_ImageWriter__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace awt
  12. {
  13. class Dimension;
  14. class Rectangle;
  15. namespace image
  16. {
  17. class Raster;
  18. class RenderedImage;
  19. }
  20. }
  21. }
  22. namespace javax
  23. {
  24. namespace imageio
  25. {
  26. class IIOImage;
  27. class ImageTypeSpecifier;
  28. class ImageWriteParam;
  29. class ImageWriter;
  30. namespace event
  31. {
  32. class IIOWriteProgressListener;
  33. class IIOWriteWarningListener;
  34. }
  35. namespace metadata
  36. {
  37. class IIOMetadata;
  38. }
  39. namespace spi
  40. {
  41. class ImageWriterSpi;
  42. }
  43. }
  44. }
  45. }
  46. class javax::imageio::ImageWriter : public ::java::lang::Object
  47. {
  48. public: // actually protected
  49. ImageWriter(::javax::imageio::spi::ImageWriterSpi *);
  50. private:
  51. void checkOutputSet();
  52. public:
  53. virtual void abort();
  54. public: // actually protected
  55. virtual jboolean abortRequested();
  56. public:
  57. virtual void addIIOWriteProgressListener(::javax::imageio::event::IIOWriteProgressListener *);
  58. virtual void addIIOWriteWarningListener(::javax::imageio::event::IIOWriteWarningListener *);
  59. virtual jboolean canInsertEmpty(jint);
  60. virtual jboolean canInsertImage(jint);
  61. virtual jboolean canRemoveImage(jint);
  62. virtual jboolean canReplaceImageMetadata(jint);
  63. virtual jboolean canReplacePixels(jint);
  64. virtual jboolean canReplaceStreamMetadata();
  65. virtual jboolean canWriteEmpty();
  66. virtual jboolean canWriteRasters();
  67. virtual jboolean canWriteSequence();
  68. public: // actually protected
  69. virtual void clearAbortRequest();
  70. public:
  71. virtual ::javax::imageio::metadata::IIOMetadata * convertImageMetadata(::javax::imageio::metadata::IIOMetadata *, ::javax::imageio::ImageTypeSpecifier *, ::javax::imageio::ImageWriteParam *) = 0;
  72. virtual ::javax::imageio::metadata::IIOMetadata * convertStreamMetadata(::javax::imageio::metadata::IIOMetadata *, ::javax::imageio::ImageWriteParam *) = 0;
  73. virtual void dispose();
  74. virtual JArray< ::java::util::Locale * > * getAvailableLocales();
  75. virtual ::javax::imageio::metadata::IIOMetadata * getDefaultImageMetadata(::javax::imageio::ImageTypeSpecifier *, ::javax::imageio::ImageWriteParam *) = 0;
  76. virtual ::javax::imageio::metadata::IIOMetadata * getDefaultStreamMetadata(::javax::imageio::ImageWriteParam *) = 0;
  77. virtual ::javax::imageio::ImageWriteParam * getDefaultWriteParam();
  78. virtual ::java::util::Locale * getLocale();
  79. virtual jint getNumThumbnailsSupported(::javax::imageio::ImageTypeSpecifier *, ::javax::imageio::ImageWriteParam *, ::javax::imageio::metadata::IIOMetadata *, ::javax::imageio::metadata::IIOMetadata *);
  80. virtual ::javax::imageio::spi::ImageWriterSpi * getOriginatingProvider();
  81. virtual ::java::lang::Object * getOutput();
  82. virtual JArray< ::java::awt::Dimension * > * getPreferredThumbnailSizes(::javax::imageio::ImageTypeSpecifier *, ::javax::imageio::ImageWriteParam *, ::javax::imageio::metadata::IIOMetadata *, ::javax::imageio::metadata::IIOMetadata *);
  83. public: // actually protected
  84. virtual void processImageComplete();
  85. virtual void processImageProgress(jfloat);
  86. virtual void processImageStarted(jint);
  87. virtual void processThumbnailComplete();
  88. virtual void processThumbnailProgress(jfloat);
  89. virtual void processThumbnailStarted(jint, jint);
  90. virtual void processWarningOccurred(jint, ::java::lang::String *);
  91. virtual void processWarningOccurred(jint, ::java::lang::String *, ::java::lang::String *);
  92. virtual void processWriteAborted();
  93. public:
  94. virtual void removeAllIIOWriteProgressListeners();
  95. virtual void removeAllIIOWriteWarningListeners();
  96. virtual void removeIIOWriteProgressListener(::javax::imageio::event::IIOWriteProgressListener *);
  97. virtual void removeIIOWriteWarningListener(::javax::imageio::event::IIOWriteWarningListener *);
  98. virtual void reset();
  99. virtual void setLocale(::java::util::Locale *);
  100. virtual void setOutput(::java::lang::Object *);
  101. virtual void write(::javax::imageio::metadata::IIOMetadata *, ::javax::imageio::IIOImage *, ::javax::imageio::ImageWriteParam *) = 0;
  102. virtual void endInsertEmpty();
  103. virtual void endReplacePixels();
  104. virtual void endWriteEmpty();
  105. virtual void endWriteSequence();
  106. virtual void prepareInsertEmpty(jint, ::javax::imageio::ImageTypeSpecifier *, jint, jint, ::javax::imageio::metadata::IIOMetadata *, ::java::util::List *, ::javax::imageio::ImageWriteParam *);
  107. virtual void prepareReplacePixels(jint, ::java::awt::Rectangle *);
  108. virtual void prepareWriteEmpty(::javax::imageio::metadata::IIOMetadata *, ::javax::imageio::ImageTypeSpecifier *, jint, jint, ::javax::imageio::metadata::IIOMetadata *, ::java::util::List *, ::javax::imageio::ImageWriteParam *);
  109. virtual void prepareWriteSequence(::javax::imageio::metadata::IIOMetadata *);
  110. virtual void removeImage(jint);
  111. virtual void replaceImageMetadata(jint, ::javax::imageio::metadata::IIOMetadata *);
  112. virtual void replacePixels(::java::awt::image::RenderedImage *, ::javax::imageio::ImageWriteParam *);
  113. virtual void replacePixels(::java::awt::image::Raster *, ::javax::imageio::ImageWriteParam *);
  114. virtual void replaceStreamMetadata(::javax::imageio::metadata::IIOMetadata *);
  115. virtual void write(::java::awt::image::RenderedImage *);
  116. virtual void write(::javax::imageio::IIOImage *);
  117. virtual void writeInsert(jint, ::javax::imageio::IIOImage *, ::javax::imageio::ImageWriteParam *);
  118. virtual void writeToSequence(::javax::imageio::IIOImage *, ::javax::imageio::ImageWriteParam *);
  119. private:
  120. jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) aborted;
  121. public: // actually protected
  122. JArray< ::java::util::Locale * > * availableLocales;
  123. ::java::util::Locale * locale;
  124. ::javax::imageio::spi::ImageWriterSpi * originatingProvider;
  125. ::java::lang::Object * output;
  126. ::java::util::List * progressListeners;
  127. ::java::util::List * warningListeners;
  128. ::java::util::List * warningLocales;
  129. public:
  130. static ::java::lang::Class class$;
  131. };
  132. #endif // __javax_imageio_ImageWriter__