setSelectedCheckbox(selectedCheckbox);
if (this.selectedCheckbox != null) { if (this.selectedCheckbox.getCheckboxGroup() != this) return;  this.selectedCheckbox.setState(false); }  this.selectedCheckbox = selectedCheckbox; if (selectedCheckbox != null) selectedCheckbox.setState(true);
setCurrent(Checkbox selectedCheckbox){  setSelectedCheckbox(selectedCheckbox);}