Java Platform 1.2
Beta 4



public class GrayFilter
extends RGBImageFilter
An image filter that "disables" an image by turning it into a grayscale image, and brightening the pixels in the image.

Fields inherited from class java.awt.image.RGBImageFilter
canFilterIndexColorModel , newmodel , origmodel
Fields inherited from class java.awt.image.ImageFilter
Constructor Summary
GrayFilter(boolean b, int p)
Method Summary
static Image createDisabledImage(Image i)
          Creates a disabled image
 int filterRGB(int x, int y, int rgb)
Methods inherited from class java.awt.image.RGBImageFilter
filterIndexColorModel , filterRGBPixels , setColorModel , setPixels , setPixels , substituteColorModel
Methods inherited from class java.awt.image.ImageFilter
clone , getFilterInstance , imageComplete , resendTopDownLeftRight , setDimensions , setHints , setProperties
Methods inherited from class java.lang.Object
equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait

Constructor Detail


public GrayFilter(boolean b,
                  int p)
Method Detail


public static Image createDisabledImage(Image i)
Creates a disabled image


public int filterRGB(int x,
                     int y,
                     int rgb)
filterRGB in class RGBImageFilter

Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.