A checkbox is a button that represents an option, it can either be switched on or off. It has a text label that is describing the function of the checkbox.
// Construct a new Checkbox with the label "Checkbox"
var myCheckbox = new Checkbox("Checkbox");
// Make the checkbox checked (select it)
myCheckbox.isChecked = true;
See also: