net.sf.jooreports.templates.image
Class RenderedImageSource

java.lang.Object
  extended by net.sf.jooreports.templates.image.RenderedImageSource
All Implemented Interfaces:
ImageSource

public class RenderedImageSource
extends java.lang.Object
implements ImageSource


Constructor Summary
RenderedImageSource(java.awt.image.RenderedImage image)
           
 
Method Summary
 int getHeight()
           
 int getWidth()
           
 void write(java.io.OutputStream outputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderedImageSource

public RenderedImageSource(java.awt.image.RenderedImage image)
Method Detail

write

public void write(java.io.OutputStream outputStream)
           throws java.io.IOException
Specified by:
write in interface ImageSource
Throws:
java.io.IOException

getWidth

public int getWidth()
Specified by:
getWidth in interface ImageSource

getHeight

public int getHeight()
Specified by:
getHeight in interface ImageSource