Package com.biglybt.ui.swt.pifimpl
Class UISWTGraphicImpl
java.lang.Object
com.biglybt.ui.swt.pifimpl.UISWTGraphicImpl
- All Implemented Interfaces:
Graphic
,UISWTGraphic
An SWT image to be used in Azureus
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
img
org.eclipse.swt.graphics.Image img
-
-
Constructor Details
-
UISWTGraphicImpl
public UISWTGraphicImpl(org.eclipse.swt.graphics.Image newImage)
-
-
Method Details
-
getImage
public org.eclipse.swt.graphics.Image getImage()Description copied from interface:UISWTGraphic
Retrieve the Image object- Specified by:
getImage
in interfaceUISWTGraphic
- 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 interfaceUISWTGraphic
- Parameters:
newImage
- new image to be stored in this object- Returns:
- true - Image Set
false - Image already set to supplied parameter
-
equals
-
dispose
public void dispose()Description copied from interface:Graphic
Disposes the image. For SWT, this will switch to SWT Thread to do it, if needed
-