com.aelitis.azureus.ui.swt.skin
Class SWTSkinObjectText1

java.lang.Object
  extended by com.aelitis.azureus.ui.swt.skin.SWTSkinObjectBasic
      extended by com.aelitis.azureus.ui.swt.skin.SWTSkinObjectText1
All Implemented Interfaces:
SWTSkinObject, SWTSkinObjectText, EventListener, org.eclipse.swt.events.PaintListener, org.eclipse.swt.internal.SWTEventListener, ObfusticateImage, PluginUISWTSkinObject

public class SWTSkinObjectText1
extends SWTSkinObjectBasic
implements SWTSkinObjectText

Text Skin Object. This one uses a label widget.

Author:
TuxPaper

Field Summary
 
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
 
Constructor Summary
SWTSkinObjectText1(SWTSkin skin, SWTSkinProperties skinProperties, String sID, String sConfigID, String[] typeParams, SWTSkinObject parent)
           
 
Method Summary
 void addUrlClickedListener(SWTSkinObjectText_UrlClickedListener l)
           
 int getStyle()
           
 String getText()
           
 void removeUrlClickedListener(SWTSkinObjectText_UrlClickedListener l)
           
 void setStyle(int style)
           
 void setText(String text)
           
 void setTextColor(org.eclipse.swt.graphics.Color color)
           
 void setTextID(String key)
           
 void setTextID(String key, String[] params)
           
 String switchSuffix(String suffix, int level, boolean walkUp, boolean walkDown)
           
 
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, setBackground, setControl, setData, setDebug, setDefaultVisibility, setIsVisible, setObfusticatedImageGenerator, setProperties, setSkinView, setTooltipID, setViewID, setVisible, switchSuffix, switchSuffix, toString, triggerListeners, triggerListeners
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
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, triggerListeners
 

Constructor Detail

SWTSkinObjectText1

public SWTSkinObjectText1(SWTSkin skin,
                          SWTSkinProperties skinProperties,
                          String sID,
                          String sConfigID,
                          String[] typeParams,
                          SWTSkinObject parent)
Method Detail

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 -

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

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