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.
Constructor

# new DuCheckBox()

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

View Source DuAEF_DuSan_api.jsxinc, line 10955

Methods

# static setChecked(checkedopt)

Sets the checked state of the button
Parameters:
Name Type Attributes Default Description
checked boolean <optional>
true The state

View Source DuAEF_DuSan_api.jsxinc, line 10980

Type Definitions

# onClick()

The function to execute when the button is clicked.

View Source DuAEF_DuSan_api.jsxinc, line 10974