org.gudy.azureus2.ui.swt.plugins
Interface UISWTGraphic

All Superinterfaces:
Graphic
All Known Implementing Classes:
UISWTGraphicImpl

public interface UISWTGraphic
extends Graphic

An SWT image to be used in Azureus

See Also:
UISWTInstance.createGraphic(org.eclipse.swt.graphics.Image)

Method Summary
 org.eclipse.swt.graphics.Image getImage()
          Retrieve the Image object
 boolean setImage(org.eclipse.swt.graphics.Image img)
          Sets the image stored in this object to the supplied parameter.
 

Method Detail

getImage

org.eclipse.swt.graphics.Image getImage()
Retrieve the Image object

Returns:
image that is stored in this object

setImage

boolean setImage(org.eclipse.swt.graphics.Image img)
Sets the image stored in this object to the supplied parameter.

Parameters:
img - new image to be stored in this object
Returns:
true - Image Set
false - Image already set to supplied parameter