|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.awt.image.ImageFilter
|
+--java.awt.image.RGBImageFilter
|
+--imager.DefaultImageFilter
| Field Summary | |
protected int |
m_PercentProgress
variable to indicate the progress in percentage |
| 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 | |
DefaultImageFilter()
|
|
| Method Summary | |
abstract int |
filterRGB(int x,
int y,
int rgb)
Abstract method of RGBImageFilter. |
static int |
getBlue(int p_Pixel)
Method to obtain the blue component of the RGB int pixel |
static int |
getGreen(int p_Pixel)
Method to obtain the green component of the RGB int pixel |
int |
getPercentProgress()
method to get the percentage of filter operation completed. |
static int |
getPixel(int r,
int g,
int b)
Method to obtain the int pixel value in form of ARGB |
static int |
getRed(int p_Pixel)
Method to obtain the red component of the RGB int pixel |
void |
setPercentProgress(int percent)
method to set the percentage of progress of the filter operation. |
| 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 |
protected int m_PercentProgress
| Constructor Detail |
public DefaultImageFilter()
| Method Detail |
public abstract int filterRGB(int x,
int y,
int rgb)
filterRGB in class java.awt.image.RGBImageFilterx - x position of the pixely - y position of the pixelrgb - int ARGB form of the pixel
public int getPercentProgress()
public void setPercentProgress(int percent)
public static int getRed(int p_Pixel)
p_Pixel - the pixel in int ARGB form
public static int getGreen(int p_Pixel)
p_Pixel - the pixel in int ARGB form
public static int getBlue(int p_Pixel)
p_Pixel - the pixel in int ARGB form
public static int getPixel(int r,
int g,
int b)
r - red componentg - green componentb - blue compoment
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||