Commit 826b4807 by Bryce McKinlay Committed by Bryce McKinlay

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
parent 1326a48b
2000-07-13 Bryce McKinlay <bryce@albatross.co.nz>
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.
2000-07-12 Bryce McKinlay <bryce@albatross.co.nz>
Merged implementation of java.applet from classpath:
......
/* 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);
}
/* 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. */
package java.awt.image;
import java.awt.Image;
public interface ImageObserver
{
int WIDTH = 1 << 0;
int HEIGHT = 1 << 1;
int PROPERTIES = 1 << 2;
int SOMEBITS = 1 << 3;
int FRAMEBITS = 1 << 4;
int ALLBITS = 1 << 5;
int ERROR = 1 << 6;
int ABORT = 1 << 7;
boolean imageUpdate(Image image, int infoFlags, int x, int y, int width,
int height);
}
/* 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 ImageProducer
{
void addConsumer(ImageConsumer ic);
boolean isConsumer(ImageConsumer ic);
void removeConsumer(ImageConsumer ic);
void startProduction(ImageConsumer ic);
void requestTopDownLeftRightResend(ImageConsumer ic);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment