public enum CharacterStyleType extends Enum<CharacterStyleType>
Java class for CharacterStyleType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CharacterStyleType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Normal"/>
<enumeration value="Bold"/>
<enumeration value="Italic"/>
<enumeration value="Underlined"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BOLD
Bold character style type.
|
ITALIC
Italic character style type.
|
NORMAL
Normal character style type.
|
UNDERLINED
Underlined character style type.
|
| Modifier and Type | Method and Description |
|---|---|
static CharacterStyleType |
fromValue(String v)
From value character style type.
|
String |
value()
Value string.
|
static CharacterStyleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CharacterStyleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CharacterStyleType NORMAL
public static final CharacterStyleType BOLD
public static final CharacterStyleType ITALIC
public static final CharacterStyleType UNDERLINED
public static CharacterStyleType[] values()
for (CharacterStyleType c : CharacterStyleType.values()) System.out.println(c);
public static CharacterStyleType 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 CharacterStyleType fromValue(String v)
v - the vCopyright © 2022. All rights reserved.