search

Class myphysicslab.lab.controls.CheckBoxControl

Provided By
Extends
All Implemented Interfaces

Creates and manages a checkbox user interface control to synchronize with a ParameterBoolean.

CheckBoxControl extends CheckBoxControlBase, which is the function-based version that doesn't take a ParameterBoolean but instead has getter and setter functions.

new CheckBoxControl( parameter, checkBox )

Parameters
parametermyphysicslab.lab.util.ParameterBoolean

the ParameterBoolean to synchronize with

checkBox(HTMLInputElement|undefined)

the check box to use; if not provided, then a check box is created.

Instance Methods