anl.aida.client.io
Class ImageableComponent

java.lang.Object
  extended by anl.aida.client.io.ImageableComponent
All Implemented Interfaces:
Imageable

public class ImageableComponent
extends java.lang.Object
implements Imageable

Wraps a JComponent in the imageable interface.


Field Summary
private  javax.swing.JComponent comp
           
 
Constructor Summary
ImageableComponent(javax.swing.JComponent comp)
           
 
Method Summary
 java.awt.image.BufferedImage createImage()
          Creates a BufferedImage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

comp

private javax.swing.JComponent comp
Constructor Detail

ImageableComponent

public ImageableComponent(javax.swing.JComponent comp)
Method Detail

createImage

public java.awt.image.BufferedImage createImage()
Description copied from interface: Imageable
Creates a BufferedImage.

Specified by:
createImage in interface Imageable
Returns:
the created iamge.