org.ejtools.util.export
Class PNGTools

java.lang.Object
  |
  +--org.ejtools.util.export.PNGTools

public class PNGTools
extends java.lang.Object

Description of the Class

Version:
$Revision: 1.2 $
Author:
Laurent Etiemble

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
static java.io.File selectPNGFile()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

selectPNGFile

public static java.io.File selectPNGFile()
Description of the Method

Returns:
Description of the Return Value


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