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, java.util.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 |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DRAW_SCALE
protected static final java.lang.Long DRAW_SCALE
DRAW_SCALEDOWN_OR_CENTER
protected static final java.lang.Long DRAW_SCALEDOWN_OR_CENTER
DRAW_STRETCH
protected static final java.lang.Long DRAW_STRETCH
DRAW_NORMAL
protected static final java.lang.Long DRAW_NORMAL
DRAW_LEFT
protected static final java.lang.Long DRAW_LEFT
DRAW_TILE
protected static final java.lang.Long DRAW_TILE
DRAW_CENTER
protected static final java.lang.Long DRAW_CENTER
DRAW_HCENTER
protected static final java.lang.Long DRAW_HCENTER
DRAW_ANIMATE
protected static final java.lang.Long DRAW_ANIMATE
SWTSkinObjectImage
public SWTSkinObjectImage(SWTSkin skin,
SWTSkinProperties skinProperties,
java.lang.String sID,
java.lang.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(java.lang.String sImageID,
AECallback callback)
setupAnimationTrigger
protected void setupAnimationTrigger(int animationDelay)
setBackground
public void setBackground(java.lang.String sConfigID,
java.lang.String sSuffix)
- Specified by:
setBackground
in interface SWTSkinObject
- Overrides:
setBackground
in class SWTSkinObjectBasic
switchSuffix
public java.lang.String switchSuffix(java.lang.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(java.lang.String imageID,
AECallback callback)
setImageUrl
public void setImageUrl(java.lang.String url)