util
Class ImageExporter

java.lang.Object
  extended by util.ImageExporter

public class ImageExporter
extends java.lang.Object

With this class the alignment panel can be exported to a PNG file.


Constructor Summary
ImageExporter(AlignPanel alignPanel, java.lang.String title, int width, int height, java.io.File file)
          Constructor of the image exporter.
 
Method Summary
 java.awt.Graphics getGraphics()
           
 void write()
          Write the image to a PNG file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageExporter

public ImageExporter(AlignPanel alignPanel,
                     java.lang.String title,
                     int width,
                     int height,
                     java.io.File file)
Constructor of the image exporter.

Parameters:
alignPanel -
title -
width -
height -
file -
Method Detail

write

public void write()
Write the image to a PNG file.


getGraphics

public java.awt.Graphics getGraphics()