de.intarsys.cwt.hybrid.image
Class ImageIOImageEntry
java.lang.Object
de.intarsys.cwt.image.ImageEntry
de.intarsys.cwt.hybrid.image.ImageIOImageEntry
- All Implemented Interfaces:
- IAwtImage, IImage, IImageEntry, ISwtImage, de.intarsys.tools.attribute.IAttributeSupport
public class ImageIOImageEntry
- extends ImageEntry
- implements IAwtImage, ISwtImage
ImageIOImageEntry
public ImageIOImageEntry(IImageContainer container,
int index)
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.
getImage
public org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.graphics.Device device)
- Specified by:
getImage
in interface ISwtImage
getImageData
public org.eclipse.swt.graphics.ImageData getImageData()
- Specified by:
getImageData
in interface ISwtImage
getIndex
public int getIndex()
- Specified by:
getIndex
in interface IImageEntry
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.