org.apache.cocoon.reading.imageop
Class GrayScaleOperation

java.lang.Object
  extended by org.apache.cocoon.reading.imageop.GrayScaleOperation
All Implemented Interfaces:
Component, ImageOperation

public class GrayScaleOperation
extends Object
implements ImageOperation


Field Summary
 
Fields inherited from interface org.apache.cocoon.reading.imageop.ImageOperation
ROLE
 
Constructor Summary
GrayScaleOperation()
           
 
Method Summary
 WritableRaster apply(WritableRaster image)
           
 String getKey()
           
 void setPrefix(String prefix)
           
 void setup(Parameters params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrayScaleOperation

public GrayScaleOperation()
Method Detail

setPrefix

public void setPrefix(String prefix)
Specified by:
setPrefix in interface ImageOperation

setup

public void setup(Parameters params)
Specified by:
setup in interface ImageOperation

apply

public WritableRaster apply(WritableRaster image)
Specified by:
apply in interface ImageOperation

getKey

public String getKey()
Specified by:
getKey in interface ImageOperation


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.