Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.javatools.ui
Class ImageUtils

java.lang.Object
  extended by oracle.javatools.ui.ImageUtils


public class ImageUtils
extends java.lang.Object

Constructor Summary
ImageUtils()
           

 

Method Summary
static void dumpComponent(javax.swing.JComponent c, java.lang.String pathAndFilename, boolean appendTimestamp)
          Dump the current component to an image file
static void dumpImage(java.awt.image.RenderedImage image, java.lang.String pathAndFilename, boolean appendTimestamp)
          Write out an image file for the give image.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ImageUtils

public ImageUtils()

Method Detail

dumpImage

public static void dumpImage(java.awt.image.RenderedImage image,
                             java.lang.String pathAndFilename,
                             boolean appendTimestamp)
Write out an image file for the give image. The filetype and extension are managed internally
Parameters:
image -
pathAndFilename - the full path including filename but not extension. The path must already exist.
appendTimestamp - if true the current time in milliseconds of this operation is appended to the filename

dumpComponent

public static void dumpComponent(javax.swing.JComponent c,
                                 java.lang.String pathAndFilename,
                                 boolean appendTimestamp)
Dump the current component to an image file
Parameters:
c -
pathAndFilename - the full path including filename but not extension. The path must already exist.
appendTimestamp - if true the current time in milliseconds of this operation is appended to the filename

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.