Package org.apache.poi.ss.usermodel
Enum Class FontUnderline
- All Implemented Interfaces:
Serializable
,Comparable<FontUnderline>
,Constable
the different types of possible underline formatting
- Author:
- Gisella Bronzetti
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDouble-line underlining under each character in the cell.Double-line accounting underlining under each character in the cell.No underline.Single-line underlining under each character in the cell.Single-line accounting underlining under each character in the cell. -
Method Summary
Modifier and TypeMethodDescriptionbyte
int
getValue()
static FontUnderline
valueOf
(byte value) Returns the enum constant of this class with the specified name.static FontUnderline
valueOf
(int value) Returns the enum constant of this class with the specified name.static FontUnderline
Returns the enum constant of this class with the specified name.static FontUnderline[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SINGLE
Single-line underlining under each character in the cell. The underline is drawn through the descenders of characters such as g and p.. -
DOUBLE
Double-line underlining under each character in the cell. underlines are drawn through the descenders of characters such as g and p. -
SINGLE_ACCOUNTING
Single-line accounting underlining under each character in the cell. The underline is drawn under the descenders of characters such as g and p. -
DOUBLE_ACCOUNTING
Double-line accounting underlining under each character in the cell. The underlines are drawn under the descenders of characters such as g and p. -
NONE
No underline.
-
-
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
-
getValue
public int getValue() -
getByteValue
public byte getByteValue() -
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:
value
- 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
-
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:
value
- 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
-