org.jscience.media.pictures.filters
Class BorderFilter

java.lang.Object
  extended by java.awt.image.ImageFilter
      extended by org.jscience.media.pictures.filters.BorderFilter
All Implemented Interfaces:
java.awt.image.ImageConsumer, java.io.Serializable, java.lang.Cloneable

public class BorderFilter
extends java.awt.image.ImageFilter
implements java.io.Serializable

DOCUMENT ME!

See Also:
Serialized Form

Field Summary
 
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
BorderFilter()
          Creates a new BorderFilter object.
 
Method Summary
 int getBottomBorder()
          DOCUMENT ME!
 int getLeftBorder()
          DOCUMENT ME!
 int getRightBorder()
          DOCUMENT ME!
 int getTopBorder()
          DOCUMENT ME!
 void setBottomBorder(int bottomBorder)
          DOCUMENT ME!
 void setDimensions(int width, int height)
          DOCUMENT ME!
 void setHints(int hintflags)
          DOCUMENT ME!
 void setLeftBorder(int leftBorder)
          DOCUMENT ME!
 void setPixels(int x, int y, int w, int h, java.awt.image.ColorModel model, byte[] pixels, int off, int scansize)
          DOCUMENT ME!
 void setPixels(int x, int y, int w, int h, java.awt.image.ColorModel model, int[] pixels, int offset, int scansize)
          DOCUMENT ME!
 void setRightBorder(int rightBorder)
          DOCUMENT ME!
 void setTopBorder(int topBorder)
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class java.awt.image.ImageFilter
clone, getFilterInstance, imageComplete, resendTopDownLeftRight, setColorModel, setProperties
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BorderFilter

public BorderFilter()
Creates a new BorderFilter object.

Method Detail

setLeftBorder

public void setLeftBorder(int leftBorder)
DOCUMENT ME!

Parameters:
leftBorder - DOCUMENT ME!

getLeftBorder

public int getLeftBorder()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setRightBorder

public void setRightBorder(int rightBorder)
DOCUMENT ME!

Parameters:
rightBorder - DOCUMENT ME!

getRightBorder

public int getRightBorder()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setTopBorder

public void setTopBorder(int topBorder)
DOCUMENT ME!

Parameters:
topBorder - DOCUMENT ME!

getTopBorder

public int getTopBorder()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setBottomBorder

public void setBottomBorder(int bottomBorder)
DOCUMENT ME!

Parameters:
bottomBorder - DOCUMENT ME!

getBottomBorder

public int getBottomBorder()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setHints

public void setHints(int hintflags)
DOCUMENT ME!

Specified by:
setHints in interface java.awt.image.ImageConsumer
Overrides:
setHints in class java.awt.image.ImageFilter
Parameters:
hintflags - DOCUMENT ME!

setDimensions

public void setDimensions(int width,
                          int height)
DOCUMENT ME!

Specified by:
setDimensions in interface java.awt.image.ImageConsumer
Overrides:
setDimensions in class java.awt.image.ImageFilter
Parameters:
width - DOCUMENT ME!
height - DOCUMENT ME!

setPixels

public void setPixels(int x,
                      int y,
                      int w,
                      int h,
                      java.awt.image.ColorModel model,
                      byte[] pixels,
                      int off,
                      int scansize)
DOCUMENT ME!

Specified by:
setPixels in interface java.awt.image.ImageConsumer
Overrides:
setPixels in class java.awt.image.ImageFilter
Parameters:
x - DOCUMENT ME!
y - DOCUMENT ME!
w - DOCUMENT ME!
h - DOCUMENT ME!
model - DOCUMENT ME!
pixels - DOCUMENT ME!
off - DOCUMENT ME!
scansize - DOCUMENT ME!

setPixels

public void setPixels(int x,
                      int y,
                      int w,
                      int h,
                      java.awt.image.ColorModel model,
                      int[] pixels,
                      int offset,
                      int scansize)
DOCUMENT ME!

Specified by:
setPixels in interface java.awt.image.ImageConsumer
Overrides:
setPixels in class java.awt.image.ImageFilter
Parameters:
x - DOCUMENT ME!
y - DOCUMENT ME!
w - DOCUMENT ME!
h - DOCUMENT ME!
model - DOCUMENT ME!
pixels - DOCUMENT ME!
offset - DOCUMENT ME!
scansize - DOCUMENT ME!

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!