Package com.biglybt.ui.swt.skin
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
,org.eclipse.swt.internal.SWTEventListener
Native button. For non-native, use SWTSkinButtonUtility on any SWTSkinObject
-
Nested Class Summary
Nested classes/interfaces inherited from class com.biglybt.ui.swt.skin.SWTSkinObjectBasic
SWTSkinObjectBasic.GradientInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.eclipse.swt.widgets.Button
private String
private boolean
Fields inherited from class com.biglybt.ui.swt.skin.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 TypeMethodDescriptionvoid
org.eclipse.swt.widgets.Button
void
private void
switchSuffix
(String suffix, int level, boolean walkUp, boolean walkDown) Methods inherited from class com.biglybt.ui.swt.skin.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:
switchSuffix
in interfaceSWTSkinObject
- Overrides:
switchSuffix
in classSWTSkinObjectBasic
-
addSelectionListener
-
setText
-
setText
- Parameters:
text
-- Since:
- 3.1.1.1
-
getButton
public org.eclipse.swt.widgets.Button getButton()
-