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

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

public class SWTSkinObjectCheckbox
extends SWTSkinObjectBasic

Native checkbox

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
SWTSkinObjectCheckbox(SWTSkin skin, SWTSkinProperties properties, String id, String configID, SWTSkinObject parentSkinObject)
           
 
Method Summary
 void addSelectionListener(SWTSkinCheckboxListener listener)
           
 boolean isChecked()
           
 void setChecked(boolean b)
           
 void setText(String text)
           
 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
 

Constructor Detail

SWTSkinObjectCheckbox

public SWTSkinObjectCheckbox(SWTSkin skin,
                             SWTSkinProperties properties,
                             String id,
                             String configID,
                             SWTSkinObject parentSkinObject)
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

addSelectionListener

public void addSelectionListener(SWTSkinCheckboxListener listener)

setText

public void setText(String text)

isChecked

public boolean isChecked()

setChecked

public void setChecked(boolean b)