User Guide

1126 SimpleButton class
Methods inherited from the UIComponent class
The following table lists the methods the SimpleButton class inherits from the UIComponent
class. When calling these methods from the SimpleButton object, use the form
buttonInstance.methodName.
Property summary for the SimpleButton class
The following table lists properties of the SimpleButton class.
UIObject.setSize() Resizes the object to the requested size.
UIObject.setSkin() Sets a skin in the object.
UIObject.setStyle() Sets the style property on the style declaration or object.
Method Description
UIComponent.getFocus() Returns a reference to the object that has focus.
UIComponent.setFocus() Sets focus to the component instance.
Property Description
SimpleButton.emphasized Indicates whether a button has the appearance of
a default push button.
SimpleButton.emphasizedStyleDeclaration The style declaration when the emphasized
property is set to
true.
SimpleButton.selected A Boolean value indicating whether the button is
selected (
true) or not (false). The default value
is
false.
SimpleButton.toggle A Boolean value indicating whether the button
behaves as a toggle switch (
true) or not (false).
The default value is
false.
Method Description