org.das2.util.awt
Class PngGraphicsOutput

java.lang.Object
  extended by org.das2.util.awt.PngGraphicsOutput
All Implemented Interfaces:
GraphicsOutput

public class PngGraphicsOutput
extends java.lang.Object
implements GraphicsOutput


Constructor Summary
PngGraphicsOutput()
          Creates a new instance of PngGraphicsOutput
 
Method Summary
 void finish()
           
 java.awt.Graphics getGraphics()
           
 java.awt.Graphics2D getGraphics2D()
           
 void setOutputStream(java.io.OutputStream out)
           
 void setSize(int width, int height)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PngGraphicsOutput

public PngGraphicsOutput()
Creates a new instance of PngGraphicsOutput

Method Detail

finish

public void finish()
            throws java.io.IOException
Specified by:
finish in interface GraphicsOutput
Throws:
java.io.IOException

getGraphics

public java.awt.Graphics getGraphics()
Specified by:
getGraphics in interface GraphicsOutput

getGraphics2D

public java.awt.Graphics2D getGraphics2D()
Specified by:
getGraphics2D in interface GraphicsOutput

setOutputStream

public void setOutputStream(java.io.OutputStream out)
Specified by:
setOutputStream in interface GraphicsOutput

setSize

public void setSize(int width,
                    int height)
Specified by:
setSize in interface GraphicsOutput

start

public void start()
Specified by:
start in interface GraphicsOutput