All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.eou.swingimageregionselector.DarkenEmphasisFilter

java.lang.Object
   |
   +----java.awt.image.ImageFilter
           |
           +----java.awt.image.RGBImageFilter
                   |
                   +----com.ibm.eou.swingimageregionselector.BaseEmphasisFilter
                           |
                           +----com.ibm.eou.swingimageregionselector.DarkenEmphasisFilter

public class DarkenEmphasisFilter
extends BaseEmphasisFilter
Image filter to darken the pixels corresponding to the selected or rollover region

See Also:
setRolloverEmphasisStyle, setSelectionEmphasisStyle

Constructor Index

 o DarkenEmphasisFilter()

Method Index

 o copyright()
IBM Copyright statement
 o filterPixel(int, int, int)
Method to return a darkened version of the display image pixel at (x,y)

Constructors

 o DarkenEmphasisFilter
 public DarkenEmphasisFilter()

Methods

 o copyright
 public static String copyright()
IBM Copyright statement

 o filterPixel
 public int filterPixel(int x,
                        int y,
                        int rgb)
Method to return a darkened version of the display image pixel at (x,y)

Parameters:
x - x co-ordinate of the pixel
y - y co-ordinate of the pixel
rgb - RGB value of the pixel at (x,y)
Returns:
New RGB value of the pixel
Overrides:
filterPixel in class BaseEmphasisFilter

All Packages  Class Hierarchy  This Package  Previous  Next  Index