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:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 9928
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:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 9952
Sets the checked state of the button
Name Type Default Description
checked boolean true optional The state

Type Definitions

onClick()

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 9946
The function to execute when the button is clicked.