Class 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!
      • 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

      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
      • 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

      • brightness

        private int brightness
        DOCUMENT ME!
      • contrast

        private float contrast
        DOCUMENT ME!
    • Constructor Detail

      • ViewJFilterAnimate

        public ViewJFilterAnimate​(int brightness,
                                  float contrast)
        Creates a new ViewJFilterAnimate object.
        Parameters:
        brightness - DOCUMENT ME!
        contrast - DOCUMENT ME!
        Throws:
        java.lang.IllegalArgumentException - DOCUMENT ME!
    • 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 class java.awt.image.RGBImageFilter
        Parameters:
        x - DOCUMENT ME!
        y - DOCUMENT ME!
        rgb - DOCUMENT ME!
        Returns:
        DOCUMENT ME!