Enum Constant Summary
Enum Constants
Left-aligned header style.
Right-aligned header style.
Hyperlink style with no underlining.
Method Summary
All Methods Static Methods Concrete Methods
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
DEFAULT
The default style. Used for data cells if no other style is specified.
DATE
Date style. Use it as the default cell style for date columns or for individual date cells.
DATETIME
Date and time style. Use it as the default cell style for date and time columns or for individual date and time
cells.
DURATION
Duration style. Use it as the default cell style for duration columns or for individual duration cells.
PERCENTAGE
Percentage style. Use it as the default style for percentage columns or for individual percentage cells.
HYPERLINK
Hyperlink style. Use it as the default style for hyperlink columns or for individual hyperlink cells.
HYPERLINK_UNDECORATED
public static final ExcelStyle HYPERLINK_UNDECORATED
Hyperlink style with no underlining. Use it instead of HYPERLINK when you don't want the decoration.
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 name
NullPointerException - if the argument is null