SimpleCheckBox()

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

new SimpleCheckBox()

Properties:
Name Type Description
label StaticText The statictext used as a label
checkbox CheckBox The box
color Array.<float> The color [R,G,B,A]
onClick NiceCheckbox~onClick Function to execute when clicked

Methods

static niceCheckBox.setChecked(c)

Checks or unchecks the button
Parameters:
Name Type Description
c boolean The checked state