dsto.dfc.swt.icons
Interface Icon

All Known Implementing Classes:
ColourIcon, DynamicIcon, FlowIcon, ImageDataIcon, ImageDescriptorIcon, ImageResourceIcon, NullIcon, StackIcon

public interface Icon

Defined an object that can render an iconic image.

Note: icons that may be cached using IconCache must also implement equals () and hashCode ().

Author:
mpp

Method Summary
 org.eclipse.swt.graphics.Image createImage(org.eclipse.swt.graphics.Device device)
           
 int getIconHeight()
           
 int getIconWidth()
           
 org.eclipse.swt.graphics.ImageData getImageData()
           
 void paintIcon(org.eclipse.swt.graphics.GC gc, int x, int y)
           
 

Method Detail

getIconWidth

int getIconWidth()

getIconHeight

int getIconHeight()

paintIcon

void paintIcon(org.eclipse.swt.graphics.GC gc,
               int x,
               int y)

createImage

org.eclipse.swt.graphics.Image createImage(org.eclipse.swt.graphics.Device device)

getImageData

org.eclipse.swt.graphics.ImageData getImageData()


Copyright © 2008 Commonwealth of Australia