Package noaa.coastwatch.gui
Class GhostButton.GhostImageFilter
java.lang.Object
java.awt.image.ImageFilter
java.awt.image.RGBImageFilter
noaa.coastwatch.gui.GhostButton.GhostImageFilter
- All Implemented Interfaces:
ImageConsumer
,Cloneable
- Enclosing class:
- GhostButton
The
GhostImageFilter
converts normal color
pixels to ghostly inverted grayscale pixels.-
Field Summary
Fields inherited from class java.awt.image.RGBImageFilter
canFilterIndexColorModel, newmodel, origmodel
Fields inherited from class java.awt.image.ImageFilter
consumer
Fields inherited from interface java.awt.image.ImageConsumer
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT
-
Constructor Summary
-
Method Summary
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
-
Constructor Details
-
GhostImageFilter
public GhostImageFilter()
-
-
Method Details
-
filterRGB
public int filterRGB(int x, int y, int rgb) - Specified by:
filterRGB
in classRGBImageFilter
-