com.aelitis.azureus.ui.swt.skin
Class SWTSkinObjectToggle
java.lang.Object
com.aelitis.azureus.ui.swt.skin.SWTSkinObjectBasic
com.aelitis.azureus.ui.swt.skin.SWTSkinObjectToggle
- All Implemented Interfaces:
- SWTSkinObject, EventListener, org.eclipse.swt.events.PaintListener, org.eclipse.swt.internal.SWTEventListener, ObfusticateImage, PluginUISWTSkinObject
public class SWTSkinObjectToggle
- extends SWTSkinObjectBasic
Native Toggle
- 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, setBackground, setControl, setData, setDebug, setDefaultVisibility, setIsVisible, setObfusticatedImageGenerator, setProperties, setSkinView, setTooltipID, setViewID, setVisible, switchSuffix, switchSuffix, toString, triggerListeners, triggerListeners |
SWTSkinObjectToggle
public SWTSkinObjectToggle(SWTSkin skin,
SWTSkinProperties properties,
String id,
String configID,
SWTSkinObject parentSkinObject)
switchSuffix
public String switchSuffix(String suffix,
int level,
boolean walkUp,
boolean walkDown)
- Specified by:
switchSuffix
in interface SWTSkinObject
- Overrides:
switchSuffix
in class SWTSkinObjectBasic
addSelectionListener
public void addSelectionListener(SWTSkinToggleListener listener)
setText
public void setText(String text)
isToggled
public boolean isToggled()
setToggled
public void setToggled(boolean b)