java.io.Serializable
, java.lang.Comparable<FontUnderline>
public enum FontUnderline extends java.lang.Enum<FontUnderline>
Enum Constant | Description |
---|---|
DOUBLE |
Double-line underlining under each character in the
cell.
|
DOUBLE_ACCOUNTING |
Double-line accounting underlining under each
character in the cell.
|
NONE |
No underline.
|
SINGLE |
Single-line underlining under each character in the cell.
|
SINGLE_ACCOUNTING |
Single-line accounting underlining under each
character in the cell.
|
Modifier and Type | Method | Description |
---|---|---|
byte |
getByteValue() |
|
int |
getValue() |
|
static FontUnderline |
valueOf(byte value) |
Returns the enum constant of this type with the specified name.
|
static FontUnderline |
valueOf(int value) |
Returns the enum constant of this type with the specified name.
|
static FontUnderline |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static FontUnderline[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontUnderline SINGLE
public static final FontUnderline DOUBLE
public static final FontUnderline SINGLE_ACCOUNTING
public static final FontUnderline DOUBLE_ACCOUNTING
public static final FontUnderline NONE
public static FontUnderline[] values()
for (FontUnderline c : FontUnderline.values()) System.out.println(c);
public static FontUnderline valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public byte getByteValue()
public static FontUnderline valueOf(int value)
value
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static FontUnderline valueOf(byte value)
value
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright 2018 The Apache Software Foundation or its licensors, as applicable.