org.smartui
Class SuperImageFilter

java.lang.Object
  |
  +--java.awt.image.ImageFilter
        |
        +--java.awt.image.RGBImageFilter
              |
              +--org.smartui.SuperImageFilter
All Implemented Interfaces:
java.lang.Cloneable, java.awt.image.ImageConsumer

public class SuperImageFilter
extends java.awt.image.RGBImageFilter


Field Summary
protected  int filterType
           
protected static int FTDARKEN
           
protected static int FTFADE
           
protected static int FTNONE
           
protected  int[] masks
           
protected  double percent
           
protected  int toB
           
protected  int toG
           
protected  int toR
           
protected  int transColor
           
protected  boolean transparent
           
protected  int width
           
 
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
SuperImageFilter()
           
 
Method Summary
 int filterRGB(int x, int y, int rgb)
           
 void setDarken(double percent)
           
 void setFade(java.awt.Color fadeToColor)
           
 void setFade(double percent)
           
 void setFade(double percent, java.awt.Color fadeTo)
           
 void setMask(java.awt.Image mask, int w, int h)
           
 void setTransparent(java.awt.Color c)
           
 
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
 

Field Detail

transColor

protected int transColor

transparent

protected boolean transparent

masks

protected int[] masks

width

protected int width

FTNONE

protected static final int FTNONE

FTFADE

protected static final int FTFADE

FTDARKEN

protected static final int FTDARKEN

filterType

protected int filterType

percent

protected double percent

toR

protected int toR

toG

protected int toG

toB

protected int toB
Constructor Detail

SuperImageFilter

public SuperImageFilter()
Method Detail

setTransparent

public void setTransparent(java.awt.Color c)

setMask

public void setMask(java.awt.Image mask,
                    int w,
                    int h)

setFade

public void setFade(double percent)

setFade

public void setFade(java.awt.Color fadeToColor)

setFade

public void setFade(double percent,
                    java.awt.Color fadeTo)

setDarken

public void setDarken(double percent)

filterRGB

public int filterRGB(int x,
                     int y,
                     int rgb)
Overrides:
filterRGB in class java.awt.image.RGBImageFilter