[]
IRange range = worksheet.getRange("A1");
range.setValue(true);
ICellControl control = range.getCellControl();
control.setCheckbox();
CellControlType type = control.getType();
getType()void If all cells in the range have the same control type, that type is returned. If the range contains mixed control types or no control, CellControlType.None is returned.
IRange range = worksheet.getRange("A1");
range.setValue(true);
range.getCellControl().setCheckbox();
CellControlType type = range.getCellControl().getType();
IRange range = worksheet.getRange("A1");
range.setValue(true);
range.getCellControl().setCheckbox();
CellControlType type = range.getCellControl().getType();