public enum FontStyleValues extends Enum<FontStyleValues>
Java class for fontStyleValues.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="fontStyleValues"> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="PLAIN"/> <enumeration value="BOLD"/> <enumeration value="ITALIC"/> <enumeration value="BOLDITALIC"/> </restriction> </simpleType>
Enum Constant and Description |
---|
BOLD |
BOLDITALIC |
ITALIC |
PLAIN |
Modifier and Type | Method and Description |
---|---|
static FontStyleValues |
fromValue(String v) |
String |
value() |
static FontStyleValues |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FontStyleValues[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontStyleValues PLAIN
public static final FontStyleValues BOLD
public static final FontStyleValues ITALIC
public static final FontStyleValues BOLDITALIC
public static FontStyleValues[] values()
for (FontStyleValues c : FontStyleValues.values()) System.out.println(c);
public static FontStyleValues valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static FontStyleValues fromValue(String v)