com.aelitis.azureus.ui.swt.skin
Class SWTSkinObjectText2
java.lang.Object
com.aelitis.azureus.ui.swt.skin.SWTSkinObjectBasic
com.aelitis.azureus.ui.swt.skin.SWTSkinObjectText2
- All Implemented Interfaces:
- SWTSkinObject, SWTSkinObjectText, EventListener, org.eclipse.swt.events.PaintListener, org.eclipse.swt.internal.SWTEventListener, ObfusticateImage, PluginUISWTSkinObject
public class SWTSkinObjectText2
- extends SWTSkinObjectBasic
- implements SWTSkinObjectText, org.eclipse.swt.events.PaintListener
Text Skin Object. This one paints text on parent.
- 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, relayout, removeListener, setAlwaysHookPaintListener, setBackground, setControl, setData, setDebug, setDefaultVisibility, setIsVisible, setObfusticatedImageGenerator, setProperties, setSkinView, setTooltipID, setViewID, setVisible, switchSuffix, switchSuffix, toString, triggerListeners |
Methods inherited from interface com.aelitis.azureus.ui.swt.skin.SWTSkinObject |
addListener, dispose, getConfigID, getControl, getData, getDefaultVisibility, getListeners, getParent, getProperties, getSkin, getSkinObjectID, getSkinView, getSuffix, getTooltipID, getType, getViewID, isDebug, isDisposed, isVisible, layoutComplete, relayout, removeListener, setBackground, setData, setDebug, setDefaultVisibility, setObfusticatedImageGenerator, setProperties, setSkinView, setTooltipID, setVisible, switchSuffix, switchSuffix, triggerListeners |
Methods inherited from interface org.eclipse.swt.events.PaintListener |
paintControl |
mouseDown
protected boolean mouseDown
SWTSkinObjectText2
public SWTSkinObjectText2(SWTSkin skin,
SWTSkinProperties skinProperties,
String sID,
String sConfigID,
String[] typeParams,
SWTSkinObject parent)
switchSuffix
public String switchSuffix(String suffix,
int level,
boolean walkUp,
boolean walkDown)
- Specified by:
switchSuffix
in interface SWTSkinObject
- Overrides:
switchSuffix
in class SWTSkinObjectBasic
setText
public void setText(String text)
- Specified by:
setText
in interface SWTSkinObjectText
- Parameters:
searchText
-
paintControl
public void paintControl(org.eclipse.swt.graphics.GC gc)
- Overrides:
paintControl
in class SWTSkinObjectBasic
setTextID
public void setTextID(String key)
- Specified by:
setTextID
in interface SWTSkinObjectText
setTextID
public void setTextID(String key,
String[] params)
- Specified by:
setTextID
in interface SWTSkinObjectText
triggerListeners
public void triggerListeners(int eventType,
Object params)
- Specified by:
triggerListeners
in interface SWTSkinObject
- Overrides:
triggerListeners
in class SWTSkinObjectBasic
getStyle
public int getStyle()
- Specified by:
getStyle
in interface SWTSkinObjectText
- Returns:
setStyle
public void setStyle(int style)
- Specified by:
setStyle
in interface SWTSkinObjectText
getText
public String getText()
- Specified by:
getText
in interface SWTSkinObjectText
- Returns:
addUrlClickedListener
public void addUrlClickedListener(SWTSkinObjectText_UrlClickedListener l)
- Specified by:
addUrlClickedListener
in interface SWTSkinObjectText
removeUrlClickedListener
public void removeUrlClickedListener(SWTSkinObjectText_UrlClickedListener l)
- Specified by:
removeUrlClickedListener
in interface SWTSkinObjectText
setTextColor
public void setTextColor(org.eclipse.swt.graphics.Color color)
- Specified by:
setTextColor
in interface SWTSkinObjectText