User Guide

SimpleButton class 687
Property summary for the SimpleButton class
The following table lists properties of the SimpleButton class.
Properties inherited from the UIObject class
The following table lists the properties the SimpleButton class inherits from the UIObject class.
When accessing these properties from the SimpleButton object, use the form
buttonInstance.propertyName.
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.
Property Description
UIObject.bottom The position of the bottom edge of the object, relative to the
bottom edge of its parent. Read-only.
UIObject.height The height of the object, in pixels. Read-only.
UIObject.left The left edge of the object, in pixels. Read-only.
UIObject.right The position of the right edge of the object, relative to the right
edge of its parent. Read-only.
UIObject.scaleX A number indicating the scaling factor in the x direction of the
object, relative to its parent.
UIObject.scaleY A number indicating the scaling factor in the y direction of the
object, relative to its parent.
UIObject.top The position of the top edge of the object, relative to its parent.
Read-only.
UIObject.visible A Boolean value indicating whether the object is visible (true) or
not (
false).
UIObject.width The width of the object, in pixels. Read-only.
UIObject.x The left edge of the object, in pixels. Read-only.
UIObject.y The top edge of the object, in pixels. Read-only.