Category | Requires | Version |
---|---|---|
User Interface | API 21, Android 5.0 Lollipop | 6 |
Checkbox that raises an event when the user clicks on it. There are many properties affecting its appearance that can be set in the Designer or Blocks Editor.
Default Changed event handler.
Indicates a user has clicked on the checkbox.
Default GotFocus event handler.
Default LostFocus event handler.
Place a blurred shadow of text underneath the text, drawn with the specified x, y, radius, color (e.g. -11, 12, 13, black
Params | |
---|---|
x | Number |
y | Number |
radius | Number |
color | Number |
Color Default: #FFFFFF00 ➖ Read Write - Designer Blocks
Returns the checkbox's background color as an alpha-red-green-blueinteger.
Color Default: #000000FF ➖ Read Write - Designer Blocks
Change the checkbox component color.
Boolean Default: False ➖ Read Write - Designer Blocks
Returns true if the checkbox is checked.
Boolean Default: True ➖ Read Write - Designer Blocks
Returns true if the checkbox is active and clickable.
Boolean Default: False ➖ Write - Designer
Returns true if the checkbox's text should be bold
If bold has been requested, this property will return true, even if thefont does not support bold.
Boolean Default: False ➖ Write - Designer
Returns true if the checkbox's text should be italic
If italic has been requested, this property will return true, even if thefont does not support italic.
Number Default: 14.0 ➖ Read Write - Designer Blocks
Returns the checkbox's text's font size, measured in sp(scale-independent pixels).
Number Default: 0 ➖ Write - Designer
Returns the checkbox's text's font face as default, serif, sansserif, or monospace.
Available as ^^Advanced^^ Property
Text ➖ Write - Designer Blocks
Set a custom font.
Number ➖ Read Write - Blocks
Specifies the component's vertical height, measured in pixels.
Number ➖ Write - Blocks
Specifies the component's vertical height as a percentageof the height of its parent Component.
Text ➖ Read Write - Designer Blocks
Returns the text displayed by the checkbox.
Color Default: #000000FF ➖ Read Write - Designer Blocks
Returns the checkbox's text color as an alpha-red-green-blueinteger.
Boolean Default: True ➖ Read Write - Designer Blocks
Returns true iff the component is visible.
Number ➖ Read Write - Blocks
Specifies the component's horizontal width, measured in pixels.
Number ➖ Write - Blocks
Specifies the component's horizontal width as a percentageof the Width of its parent Component.