This a check box with three states: Checked, Not Checked and Partially Checked:
Checked and Not Checked state can be set by toggling the check box. Partially Checked state can be reached by calling the setCheckBox() method. Parameters for this method are as follows:
Check box state can be retrieved by getCheckState() method.