public class ImageIOImageEntry extends ImageEntry implements IAwtImage, ISwtImage
| Constructor and Description |
|---|
ImageIOImageEntry(IImageContainer container,
int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawFromGraphicsContext(IGraphicsContext graphicsContext,
float x,
float y) |
java.awt.image.BufferedImage |
getBufferedImage()
The
BufferedImage that represents this image. |
protected IImage |
getErrorImage(java.lang.Exception e) |
org.eclipse.swt.graphics.Image |
getImage(org.eclipse.swt.graphics.Device device) |
org.eclipse.swt.graphics.ImageData |
getImageData() |
int |
getIndex() |
protected IImage |
loadContent() |
getAttribute, getContainer, getDelegate, getHeight, getWidth, removeAttribute, setAttributepublic ImageIOImageEntry(IImageContainer container, int index)
public void drawFromGraphicsContext(IGraphicsContext graphicsContext, float x, float y)
drawFromGraphicsContext in interface IImagepublic java.awt.image.BufferedImage getBufferedImage()
IAwtImageBufferedImage that represents this image.getBufferedImage in interface IAwtImageBufferedImage that represents this image.protected IImage getErrorImage(java.lang.Exception e)
getErrorImage in class ImageEntrypublic org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.graphics.Device device)
public org.eclipse.swt.graphics.ImageData getImageData()
getImageData in interface ISwtImagepublic int getIndex()
getIndex in interface IImageEntryprotected IImage loadContent() throws java.io.IOException
loadContent in class ImageEntryjava.io.IOException