Class SWTSkinObjectButton
java.lang.Object
com.biglybt.ui.swt.skin.SWTSkinObjectBasic
com.biglybt.ui.swt.skin.SWTSkinObjectButton
- All Implemented Interfaces:
ObfuscateImage, PluginUISWTSkinObject, SWTSkinObject, EventListener, org.eclipse.swt.events.PaintListener
Native button. For non-native, use SWTSkinButtonUtility on any SWTSkinObject
-
Nested Class Summary
Nested classes/interfaces inherited from class SWTSkinObjectBasic
SWTSkinObjectBasic.GradientInfo -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.eclipse.swt.widgets.Buttonprivate Stringprivate 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
ConstructorsConstructorDescriptionSWTSkinObjectButton(SWTSkin skin, SWTSkinProperties properties, String id, String configID, SWTSkinObject parentSkinObject) -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.eclipse.swt.widgets.Buttonvoidprivate 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 -
buttonListeners
-
textOverride
private boolean textOverride -
imageID
-
-
Constructor Details
-
SWTSkinObjectButton
public SWTSkinObjectButton(SWTSkin skin, SWTSkinProperties properties, String id, String configID, SWTSkinObject parentSkinObject)
-
-
Method Details
-
switchSuffix
- Specified by:
switchSuffixin interfaceSWTSkinObject- Overrides:
switchSuffixin classSWTSkinObjectBasic
-
addSelectionListener
-
setText
-
setText
- Parameters:
text-- Since:
- 3.1.1.1
-
getButton
public org.eclipse.swt.widgets.Button getButton()
-