com.aelitis.azureus.ui.swt.skin
Class SWTSkinObjectImage
java.lang.Object
com.aelitis.azureus.ui.swt.skin.SWTSkinObjectBasic
com.aelitis.azureus.ui.swt.skin.SWTSkinObjectImage
- All Implemented Interfaces:
- SWTSkinObject, EventListener, org.eclipse.swt.events.PaintListener, org.eclipse.swt.internal.SWTEventListener, ObfusticateImage, PluginUISWTSkinObject
public class SWTSkinObjectImage
- extends SWTSkinObjectBasic
- Author:
- TuxPaper
Fields inherited from class com.aelitis.azureus.ui.swt.skin.SWTSkinObjectBasic |
bgColor, BORDER_GRADIENT, BORDER_ROUNDED, BORDER_ROUNDED_FILL, control, customTooltipID, debug, listeners, listeners_mon, painter, parent, properties, sConfigID, sID, skin, suffixes, type |
Methods inherited from class com.aelitis.azureus.ui.swt.skin.SWTSkinObjectBasic |
addListener, dispose, equals, getConfigID, getControl, getData, getDefaultVisibility, getListeners, getParent, getProperties, getSkin, getSkinObjectID, getSkinView, getSuffix, getTooltipID, getType, getViewID, hashCode, isAlwaysHookPaintListener, isDebug, isDisposed, isVisible, layoutComplete, obfusticatedImage, paintControl, paintControl, relayout, removeListener, setAlwaysHookPaintListener, setControl, setData, setDebug, setDefaultVisibility, setIsVisible, setObfusticatedImageGenerator, setProperties, setSkinView, setTooltipID, setViewID, switchSuffix, switchSuffix, toString, triggerListeners, triggerListeners |
DRAW_SCALE
protected static final Long DRAW_SCALE
DRAW_SCALEDOWN_OR_CENTER
protected static final Long DRAW_SCALEDOWN_OR_CENTER
DRAW_STRETCH
protected static final Long DRAW_STRETCH
DRAW_NORMAL
protected static final Long DRAW_NORMAL
DRAW_LEFT
protected static final Long DRAW_LEFT
DRAW_TILE
protected static final Long DRAW_TILE
DRAW_CENTER
protected static final Long DRAW_CENTER
DRAW_HCENTER
protected static final Long DRAW_HCENTER
DRAW_ANIMATE
protected static final Long DRAW_ANIMATE
SWTSkinObjectImage
public SWTSkinObjectImage(SWTSkin skin,
SWTSkinProperties skinProperties,
String sID,
String sConfigID,
SWTSkinObject parent)
- Parameters:
skin
-
setVisible
public void setVisible(boolean visible)
- Specified by:
setVisible
in interface SWTSkinObject
- Overrides:
setVisible
in class SWTSkinObjectBasic
setCanvasImage
protected void setCanvasImage(String sImageID,
AECallback callback)
setupAnimationTrigger
protected void setupAnimationTrigger(int animationDelay)
setBackground
public void setBackground(String sConfigID,
String sSuffix)
- Specified by:
setBackground
in interface SWTSkinObject
- Overrides:
setBackground
in class SWTSkinObjectBasic
switchSuffix
public String switchSuffix(String suffix,
int level,
boolean walkUp,
boolean walkDown)
- Specified by:
switchSuffix
in interface SWTSkinObject
- Overrides:
switchSuffix
in class SWTSkinObjectBasic
swt_reallySetImage
protected void swt_reallySetImage()
setImage
public void setImage(org.eclipse.swt.graphics.Image image)
setImageByID
public void setImageByID(String imageID,
AECallback callback)
setImageUrl
public void setImageUrl(String url)