Enum Class LabelAlignment

java.lang.Object
java.lang.Enum<LabelAlignment>
com.grapecity.documents.excel.LabelAlignment
所有已实现的接口:
Serializable, Comparable<LabelAlignment>, Constable

public enum LabelAlignment extends Enum<LabelAlignment>
Specifies the cell label position.
  • 枚举常量详细资料

    • topLeft

      public static final LabelAlignment topLeft
      Indicates that the cell label position is top-left.
    • topCenter

      public static final LabelAlignment topCenter
      Indicates that the cell label position is top-center.
    • topRight

      public static final LabelAlignment topRight
      Indicates that the cell label position is top-right.
    • bottomLeft

      public static final LabelAlignment bottomLeft
      Indicates that the cell label position is bottom-left.
    • bottomCenter

      public static final LabelAlignment bottomCenter
      Indicates that the cell label position is bottom-center.
    • bottomRight

      public static final LabelAlignment bottomRight
      Indicates that the cell label position is bottom-right.
  • 方法详细资料

    • values

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

      public static LabelAlignment 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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值
    • getValue

      public int getValue()
    • getLabelAlignment

      public static LabelAlignment getLabelAlignment(int value)