[]
        
立即试用
(Showing Draft Content)

CheckBoxAlign

Enum Class CheckBoxAlign

java.lang.Object
java.lang.Enum<CheckBoxAlign>
com.grapecity.documents.excel.CheckBoxAlign
All Implemented Interfaces:
Serializable, Comparable<CheckBoxAlign>, Constable

public enum CheckBoxAlign extends Enum<CheckBoxAlign>
指定复选框单元格的文本对齐方式。
  • Enum Constant Details

    • Top

      public static final CheckBoxAlign Top
      指定文本位于复选框上方。
    • Bottom

      public static final CheckBoxAlign Bottom
      指定文本位于复选框下方。
    • Left

      public static final CheckBoxAlign Left
      指定文本位于复选框的左侧。
  • Method Details

    • values

      public static CheckBoxAlign[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CheckBoxAlign valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      获取表示枚举常量的整数值。
      Returns:
      枚举常量的序数值。
    • forValue

      public static CheckBoxAlign forValue(int value)
      获取与指定值相关联的 CheckBoxAlign 枚举常量。
      Parameters:
      value - 表示 CheckBoxAlign 的整数值。
      Returns:
      CheckBoxAlign 枚举常量,如果找不到匹配项则返回 null。