Package 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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawFromGraphicsContext(IGraphicsContext graphicsContext, float x, float y) TheBufferedImagethat represents this image.protected IImageorg.eclipse.swt.graphics.ImagegetImage(org.eclipse.swt.graphics.Device device) org.eclipse.swt.graphics.ImageDataintgetIndex()protected IImageMethods inherited from class de.intarsys.cwt.image.ImageEntry
getAttribute, getContainer, getDelegate, getHeight, getWidth, removeAttribute, setAttribute
-
Constructor Details
-
ImageIOImageEntry
-
-
Method Details
-
drawFromGraphicsContext
- Specified by:
drawFromGraphicsContextin interfaceIImage
-
getBufferedImage
Description copied from interface:IAwtImageTheBufferedImagethat represents this image.- Specified by:
getBufferedImagein interfaceIAwtImage- Returns:
- The
BufferedImagethat represents this image.
-
getErrorImage
- Specified by:
getErrorImagein classImageEntry
-
getImage
public org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.graphics.Device device) -
getImageData
public org.eclipse.swt.graphics.ImageData getImageData()- Specified by:
getImageDatain interfaceISwtImage
-
getIndex
public int getIndex()- Specified by:
getIndexin interfaceIImageEntry
-
loadContent
- Specified by:
loadContentin classImageEntry- Throws:
IOException
-