dsto.dfc.swt.icons
Class NullIcon
java.lang.Object
dsto.dfc.swt.icons.NullIcon
- All Implemented Interfaces:
- Icon
public class NullIcon
- extends Object
- implements Icon
An empty icon.
- Author:
- Matthew Phillips
Constructor Summary |
NullIcon(int width,
int height)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullIcon
public NullIcon(int width,
int height)
createImage
public org.eclipse.swt.graphics.Image createImage(org.eclipse.swt.graphics.Device device)
- Specified by:
createImage
in interface Icon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface Icon
getImageData
public org.eclipse.swt.graphics.ImageData getImageData()
- Specified by:
getImageData
in interface Icon
paintIcon
public void paintIcon(org.eclipse.swt.graphics.GC gc,
int x,
int y)
- Specified by:
paintIcon
in interface Icon
Copyright © 2008 Commonwealth of Australia