[]
Serializable, Comparable<CellControlType>, Constable单元格控件是区域上的格式属性,用于定义复选框等交互行为。使用 ICellControl.getType() 可检索给定区域的控件类型。
示例:
IRange range = worksheet.getRange("A1");
range.setValue(true);
range.getCellControl().setCheckbox();
CellControlType type = range.getCellControl().getType();
Enum.EnumDesc<E extends Enum<E>>static CellControlTypestatic CellControlType[]values()name - the name of the enum constant to be returned.IllegalArgumentException - if this enum class has no constant with the specified nameNullPointerException - if the argument is null