j2d
Class ImageProcessorStack

java.lang.Object
  extended by j2d.ImageProcessorStack
All Implemented Interfaces:
ImageProcessorInterface, java.io.Serializable

public class ImageProcessorStack
extends java.lang.Object
implements ImageProcessorInterface

See Also:
Serialized Form

Constructor Summary
ImageProcessorStack()
           
 
Method Summary
 void add(ImageProcessorInterface ip)
           
 void clearOperators()
           
 ImageProcessorInterface[] getOperators()
           
 java.awt.Image process(java.awt.Image img)
          a basic garbage in, garbage out processor.
 void removeOperator()
           
static ImageProcessorStack restore()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageProcessorStack

public ImageProcessorStack()
Method Detail

add

public void add(ImageProcessorInterface ip)

process

public java.awt.Image process(java.awt.Image img)
Description copied from interface: ImageProcessorInterface
a basic garbage in, garbage out processor.

Specified by:
process in interface ImageProcessorInterface
Parameters:
img - input image
Returns:
output image

getOperators

public ImageProcessorInterface[] getOperators()

removeOperator

public void removeOperator()

clearOperators

public void clearOperators()

restore

public static ImageProcessorStack restore()
Returns:
null if error on restore.