de.intarsys.cwt.swt.image
Class CwtSwtImage
java.lang.Object
de.intarsys.cwt.swt.image.CwtSwtImage
- All Implemented Interfaces:
- IImage, ISwtImage
public class CwtSwtImage
- extends java.lang.Object
- implements ISwtImage
Field Summary |
static boolean |
IS_GTK
|
Constructor Summary |
CwtSwtImage(org.eclipse.swt.graphics.ImageData imageData)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IS_GTK
public static final boolean IS_GTK
CwtSwtImage
public CwtSwtImage(org.eclipse.swt.graphics.ImageData imageData)
createSwtImage
protected org.eclipse.swt.graphics.Image createSwtImage(org.eclipse.swt.graphics.Device device)
drawFromGraphicsContext
public void drawFromGraphicsContext(IGraphicsContext graphicsContext,
float x,
float y)
- Specified by:
drawFromGraphicsContext
in interface IImage
getHeight
public int getHeight()
- Specified by:
getHeight
in interface IImage
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
getWidth
public int getWidth()
- Specified by:
getWidth
in interface IImage
setHeight
protected void setHeight(int paramHeight)
setWidth
protected void setWidth(int paramWidth)