Class: DuCheckBox

DuCheckBox

For use with DuScriptUI.
An Image Checkbox.
This is not a real class, and cannot be instanciated.
Use DuScriptUI.checkBox to create an Image Checkbox.
The Image Checkbox inherits the Group object from ScriptUI and has all of its properties and methods.

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.