public enum ELcdNVGFontStyle extends Enum<ELcdNVGFontStyle>
Enum Constant and Description |
---|
ITALIC
Italic text style element.
|
NORMAL
Normal text style element.
|
Modifier and Type | Method and Description |
---|---|
static ELcdNVGFontStyle |
fromValue(String aValue)
Convert the given string to his corresponding
ELcdNVGFontStyle . |
String |
toString() |
static String |
toValue(ELcdNVGFontStyle aValue)
Convert the given style to his string representation.
|
String |
value()
Get the textual value of this style.
|
static ELcdNVGFontStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ELcdNVGFontStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ELcdNVGFontStyle NORMAL
public static final ELcdNVGFontStyle ITALIC
public static ELcdNVGFontStyle[] values()
for (ELcdNVGFontStyle c : ELcdNVGFontStyle.values()) System.out.println(c);
public static ELcdNVGFontStyle 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 String toString()
toString
in class Enum<ELcdNVGFontStyle>
public static ELcdNVGFontStyle fromValue(String aValue)
ELcdNVGFontStyle
.aValue
- The string representing a style.ELcdNVGStyle
.public static String toValue(ELcdNVGFontStyle aValue)
aValue
- The style to convert.