org.ejtools.util.export
Class PNGFileTools

java.lang.Object
  |
  +--org.ejtools.util.FileTools
        |
        +--org.ejtools.util.export.PNGFileTools

public class PNGFileTools
extends FileTools

Description of the Class

Version:
$Revision: 1.2 $
Author:
Laurent Etiemble

Nested Class Summary
 
Nested classes inherited from class org.ejtools.util.FileTools
FileTools.SimpleFileFilter
 
Field Summary
static FileTools.SimpleFileFilter PNG_FILE_FILTER
          Description of the Field
 
Constructor Summary
protected PNGFileTools()
          Constructor for the FileUtil object
 
Method Summary
static void exportAsPNG(java.awt.Component component, java.io.File output)
          Description of the Method
static void exportAsPNG(java.awt.image.RenderedImage image, java.io.File output)
          Description of the Method
static java.awt.image.BufferedImage paintAsPNG(java.awt.Component component)
          Description of the Method
 
Methods inherited from class org.ejtools.util.FileTools
selectFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PNG_FILE_FILTER

public static final FileTools.SimpleFileFilter PNG_FILE_FILTER
Description of the Field

Constructor Detail

PNGFileTools

protected PNGFileTools()
Constructor for the FileUtil object

Method Detail

exportAsPNG

public static void exportAsPNG(java.awt.image.RenderedImage image,
                               java.io.File output)
Description of the Method

Parameters:
image - Description of the Parameter
output - Description of the Parameter

exportAsPNG

public static void exportAsPNG(java.awt.Component component,
                               java.io.File output)
Description of the Method

Parameters:
component - Description of the Parameter
output - Description of the Parameter

paintAsPNG

public static java.awt.image.BufferedImage paintAsPNG(java.awt.Component component)
Description of the Method

Parameters:
component - Description of the Parameter
Returns:
Description of the Return Value


Copyright © 2002-2003 EJTools Org.. All Rights Reserved.