Class SWTSkinObjectCheckbox
java.lang.Object
com.biglybt.ui.swt.skin.SWTSkinObjectBasic
com.biglybt.ui.swt.skin.SWTSkinObjectCheckbox
- All Implemented Interfaces:
ObfuscateImage, PluginUISWTSkinObject, SWTSkinObject, EventListener, org.eclipse.swt.events.PaintListener
Native checkbox
-
Nested Class Summary
Nested classes/interfaces inherited from class SWTSkinObjectBasic
SWTSkinObjectBasic.GradientInfo -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.eclipse.swt.widgets.Buttonprivate List<SWTSkinCheckboxListener> private booleanFields inherited from class SWTSkinObjectBasic
alwaysHookPaintListener, bgColor, BORDER_GRADIENT, BORDER_ROUNDED, BORDER_ROUNDED_FILL, control, customTooltipID, debug, initialized, listeners, listeners_mon, painter, paintListenerHooked, parent, properties, sConfigID, sID, skin, suffixes, type -
Constructor Summary
ConstructorsConstructorDescriptionSWTSkinObjectCheckbox(SWTSkin skin, SWTSkinProperties properties, String id, String configID, SWTSkinObject parentSkinObject) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSelectionListener(SWTSkinCheckboxListener listener) booleanvoidsetChecked(boolean b) voidsetEnabled(boolean b) voidswitchSuffix(String suffix, int level, boolean walkUp, boolean walkDown) Methods inherited from class SWTSkinObjectBasic
addListener, dispose, equals, getConfigID, getControl, getData, getDefaultVisibility, getListeners, getParent, getProperties, getSkin, getSkinObjectID, getSkinView, getSuffix, getTooltipID, getType, getViewID, isAlwaysHookPaintListener, isDebug, isDisposed, isVisible, layoutComplete, obfuscatedImage, paintControl, paintControl, relayout, removeListener, setAlwaysHookPaintListener, setBackground, setControl, setData, setDebug, setDefaultVisibility, setIsVisible, setObfuscatedImageGenerator, setProperties, setSkinView, setTooltipID, setViewID, setVisible, switchSuffix, switchSuffix, toString, triggerListeners, triggerListeners
-
Field Details
-
button
private org.eclipse.swt.widgets.Button button -
checked
private boolean checked -
buttonListeners
-
-
Constructor Details
-
SWTSkinObjectCheckbox
public SWTSkinObjectCheckbox(SWTSkin skin, SWTSkinProperties properties, String id, String configID, SWTSkinObject parentSkinObject)
-
-
Method Details
-
switchSuffix
- Specified by:
switchSuffixin interfaceSWTSkinObject- Overrides:
switchSuffixin classSWTSkinObjectBasic
-
addSelectionListener
-
setText
-
isChecked
public boolean isChecked() -
setChecked
public void setChecked(boolean b) -
setEnabled
public void setEnabled(boolean b)
-