Enum Class ReferenceStyle

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

public enum ReferenceStyle extends Enum<ReferenceStyle>
Specifies whether to use A1 style or R1C1 style for cell references.
  • 枚举常量详细资料

    • A1

      public static final ReferenceStyle A1
      Specifies to use A1 style. Absolute references are written as $A$1 and relative references are written as A1.
    • R1C1

      public static final ReferenceStyle R1C1
      Specifies to use R1C1 style. Absolute references are written as R1C1. Relative references are written as R[y]C[x] with y being the relative row offset and x being the relative column offset.
  • 方法详细资料

    • values

      public static ReferenceStyle[] 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 ReferenceStyle 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 - 如果参数为空值