new DuCheckBox()
D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 10822
Properties:
Name | Type | Description |
---|---|---|
image |
Image | The scriptui object representing the image, if any |
label |
StaticText | The label, if any |
text |
string | The current text |
textChecked |
string | The text to display when the checkbox is checked |
defaultText |
string | The text to display when the checkbox is unchecked |
checked |
boolean | The checked state of the button |
textColor |
DuColor | The color of the text of the label |
onClick |
DuCheckBox~onClick | The function to execute when the button is clicked |
Methods
-
staticDuCheckBox.setChecked(checked)
D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 10846 -
Sets the checked state of the button
Name Type Default Description checked
boolean true optional The state
Type Definitions
-
onClick()
D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 10840 -
The function to execute when the button is clicked.