public enum FontUnderline extends java.lang.Enum<FontUnderline>
FontUnderlines
represent the built-in underline names that
correspond with Excel's underlining scheme. These are used in conjunction
with the underline property in the style tag. Legal values are the names of
the enumeration objects, without underscores, case insensitive, e.g.
"single" == "Single" == "SINGLE".
StyleTag
,
StyleParser.PROPERTY_FONT_UNDERLINE
Enum Constant | Description |
---|---|
DOUBLE |
|
DOUBLEACCOUNTING |
|
NONE |
|
SINGLE |
|
SINGLEACCOUNTING |
Modifier and Type | Method | Description |
---|---|---|
byte |
getIndex() |
Returns the index.
|
java.lang.String |
toString() |
Returns the name, in all lowercase, no underscores or spaces.
|
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 SINGLEACCOUNTING
public static final FontUnderline DOUBLEACCOUNTING
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 byte getIndex()
public java.lang.String toString()
toString
in class java.lang.Enum<FontUnderline>
Copyright © 2012–2018 Jett Team. All rights reserved.