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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 java.awt.image.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.
getErrorImage
protected IImage getErrorImage(java.lang.Exception e)
- Specified by:
getErrorImage in class ImageEntry
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
loadContent
protected IImage loadContent()
throws java.io.IOException
- Specified by:
loadContent in class ImageEntry
- Throws:
java.io.IOException