Package com.grapecity.documents.excel
Enum Class ReferenceStyle
- All Implemented Interfaces:
Serializable,Comparable<ReferenceStyle>,Constable
Specifies whether to use A1 style or R1C1 style for cell references.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ReferenceStyleReturns the enum constant of this class with the specified name.static ReferenceStyle[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
A1
Specifies to use A1 style. Absolute references are written as $A$1 and relative references are written as A1. -
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.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-