diff options
author | Bryce McKinlay <bryce@albatross.co.nz> | 2000-07-12 21:13:51 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2000-07-12 22:13:51 +0100 |
commit | 826b480791675d028e30a25d9d6d4050271ec948 (patch) | |
tree | 9839dc19f293ba9ea14d4d734158b46280ad8f38 /libjava/java/awt/image/ImageConsumer.java | |
parent | 1326a48bac7fc293be6e35e1e398cd897e6d7916 (diff) | |
download | gcc-826b480791675d028e30a25d9d6d4050271ec948.zip gcc-826b480791675d028e30a25d9d6d4050271ec948.tar.gz gcc-826b480791675d028e30a25d9d6d4050271ec948.tar.bz2 |
Add missing files from last check-in:
* java/awt/image/ImageConsumer.java: New file.
* java/awt/image/ImageProducer.java: New file.
* java/awt/image/ImageObserver.java: New file.
From-SVN: r35000
Diffstat (limited to 'libjava/java/awt/image/ImageConsumer.java')
-rw-r--r-- | libjava/java/awt/image/ImageConsumer.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libjava/java/awt/image/ImageConsumer.java b/libjava/java/awt/image/ImageConsumer.java new file mode 100644 index 0000000..4cf19dc --- /dev/null +++ b/libjava/java/awt/image/ImageConsumer.java @@ -0,0 +1,32 @@ +/* Copyright (C) 2000 Free Software Foundation + + This file is part of libgcj. + +This software is copyrighted work licensed under the terms of the +Libgcj License. Please consult the file "LIBGCJ_LICENSE" for +details. */ + +public interface ImageConsumer +{ + + public static final int RANDOMPIXELORDER = 1 << 0, + TOPDOWNLEFTRIGHT = 1 << 1, + COMPLETESCANLINES = 1 << 2, + SINGLEPASS = 1 << 3, + SINGLEFRAME = 1 << 4; + + public static final int IMAGEERROR = 1, + SINGLEFRAMEDONE = 2, + STATICIMAGEDONE = 3, + IMAGEABORTED = 4; + + public void setDimensions(int width, int height); + public void setProperties(Hashtable props); + public void setColorModel(ColorModel model); + public void setHints(int hintflags); + public void setPixels(int x, int y, int w, int h, ColorModel model, + byte[] pixels, int off, int scansize); + public void setPixels(int x, int y, int w, int h, ColorModel model, + int[] pixels, int off, int scansize); + public void imageComplete(int status); +} |