Package gov.nih.mipav.view
Class ViewJFilterAnimate
- java.lang.Object
-
- java.awt.image.ImageFilter
-
- java.awt.image.RGBImageFilter
-
- gov.nih.mipav.view.ViewJFilterAnimate
-
- All Implemented Interfaces:
java.awt.image.ImageConsumer
,java.lang.Cloneable
public class ViewJFilterAnimate extends java.awt.image.RGBImageFilter
DOCUMENT ME!
-
-
Field Summary
Fields Modifier and Type Field Description private int
brightness
DOCUMENT ME!private float
contrast
DOCUMENT ME!
-
Constructor Summary
Constructors Constructor Description ViewJFilterAnimate(int brightness, float contrast)
Creates a new ViewJFilterAnimate object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
brightness()
DOCUMENT ME!void
brightness(int brightness)
DOCUMENT ME!float
contrast()
DOCUMENT ME!void
contrast(float contrast)
DOCUMENT ME!int
filterRGB(int x, int y, int rgb)
DOCUMENT ME!-
Methods inherited from class java.awt.image.RGBImageFilter
filterIndexColorModel, filterRGBPixels, setColorModel, setPixels, setPixels, substituteColorModel
-
-
-
-
Method Detail
-
brightness
public int brightness()
DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
brightness
public void brightness(int brightness)
DOCUMENT ME!- Parameters:
brightness
- DOCUMENT ME!
-
contrast
public float contrast()
DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
contrast
public void contrast(float contrast)
DOCUMENT ME!- Parameters:
contrast
- DOCUMENT ME!
-
filterRGB
public int filterRGB(int x, int y, int rgb)
DOCUMENT ME!- Specified by:
filterRGB
in classjava.awt.image.RGBImageFilter
- Parameters:
x
- DOCUMENT ME!y
- DOCUMENT ME!rgb
- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
-