QJCC homepage

biz.chitec.quarterback.swing
Class LocaleFlag.BrightenFilter

java.lang.Object
  extended byjava.awt.image.ImageFilter
      extended byjava.awt.image.RGBImageFilter
          extended bybiz.chitec.quarterback.swing.LocaleFlag.BrightenFilter
All Implemented Interfaces:
java.lang.Cloneable, java.awt.image.ImageConsumer
Enclosing class:
LocaleFlag

private static class LocaleFlag.BrightenFilter
extends java.awt.image.RGBImageFilter


Field Summary
private  boolean brighter
           
private  int percent
           
 
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
LocaleFlag.BrightenFilter(boolean brighterx, int percentx)
           
 
Method Summary
private  int filter(int color)
           
 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
 

Field Detail

brighter

private boolean brighter

percent

private int percent
Constructor Detail

LocaleFlag.BrightenFilter

public LocaleFlag.BrightenFilter(boolean brighterx,
                                 int percentx)
Method Detail

filterRGB

public int filterRGB(int x,
                     int y,
                     int rgb)

filter

private int filter(int color)

QJCC homepage