[]
Serializable, Comparable<CellTypeTextAlign>, Constable确定在 CheckBoxListCellType和 RadioButtonListCellType 中,文本标签显示在复选框或单选按钮的左侧还是右侧。
CheckBoxListCellType cellType = new CheckBoxListCellType();
cellType.setTextAlign(CellTypeTextAlign.Left);
worksheet.getRange("A1").setCellType(cellType);
Enum.EnumDesc<E extends Enum<E>>static CellTypeTextAligngetCellTypeTextAlign(int value) intgetValue()static CellTypeTextAlignstatic CellTypeTextAlign[]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 nullCellTypeTextAlign枚举常量,如果没有找到匹配项则返回null。