intarsys CWT library

de.intarsys.cwt.awt.image
Class CwtAwtImage

java.lang.Object
  extended by de.intarsys.cwt.awt.image.CwtAwtImage
All Implemented Interfaces:
IAwtImage, IImage

public class CwtAwtImage
extends Object
implements IAwtImage

The concrete implementation for an IImage for AWT.


Constructor Summary
CwtAwtImage(BufferedImage bufferedImage)
           
 
Method Summary
 void drawFromGraphicsContext(IGraphicsContext graphicsContext, float x, float y)
           
 BufferedImage getBufferedImage()
          The BufferedImage that represents this image.
 int getHeight()
           
 int getWidth()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CwtAwtImage

public CwtAwtImage(BufferedImage bufferedImage)
Method Detail

drawFromGraphicsContext

public void drawFromGraphicsContext(IGraphicsContext graphicsContext,
                                    float x,
                                    float y)
Specified by:
drawFromGraphicsContext in interface IImage

getBufferedImage

public BufferedImage getBufferedImage()
Description copied from interface: IAwtImage
The BufferedImage that represents this image.

Specified by:
getBufferedImage in interface IAwtImage
Returns:
The BufferedImage that represents this image.

getHeight

public int getHeight()
Specified by:
getHeight in interface IImage

getWidth

public int getWidth()
Specified by:
getWidth in interface IImage

intarsys CWT library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.