org.gudy.azureus2.ui.swt.pluginsimpl
Class UISWTGraphicImpl

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.pluginsimpl.UISWTGraphicImpl
All Implemented Interfaces:
Graphic, UISWTGraphic

public class UISWTGraphicImpl
extends Object
implements UISWTGraphic

An SWT image to be used in Azureus

See Also:
SWTManager.createGraphic

Constructor Summary
UISWTGraphicImpl(org.eclipse.swt.graphics.Image newImage)
           
 
Method Summary
 boolean equals(Object obj)
           
 org.eclipse.swt.graphics.Image getImage()
          Retrieve the Image object
 boolean setImage(org.eclipse.swt.graphics.Image newImage)
          Sets the image stored in this object to the supplied parameter.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UISWTGraphicImpl

public UISWTGraphicImpl(org.eclipse.swt.graphics.Image newImage)
Method Detail

getImage

public org.eclipse.swt.graphics.Image getImage()
Description copied from interface: UISWTGraphic
Retrieve the Image object

Specified by:
getImage in interface UISWTGraphic
Returns:
image that is stored in this object

setImage

public boolean setImage(org.eclipse.swt.graphics.Image newImage)
Description copied from interface: UISWTGraphic
Sets the image stored in this object to the supplied parameter.

Specified by:
setImage in interface UISWTGraphic
Parameters:
newImage - new image to be stored in this object
Returns:
true - Image Set
false - Image already set to supplied parameter

equals

public boolean equals(Object obj)
Overrides:
equals in class Object