Package com.luciad.format.nvg.model
Enum Class ELcdNVGFontStyle
- All Implemented Interfaces:
Serializable
,Comparable<ELcdNVGFontStyle>
,Constable
Font Style enumeration (normal or italic). The font style attribute is used to determine if the font of a label or a text object
needs to be italic or not.
- Since:
- 2015.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ELcdNVGFontStyle
Convert the given string to his correspondingELcdNVGFontStyle
.toString()
static String
toValue
(ELcdNVGFontStyle aValue) Convert the given style to his string representation.value()
Get the textual value of this style.static ELcdNVGFontStyle
Returns the enum constant of this class with the specified name.static ELcdNVGFontStyle[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
Normal text style element. -
ITALIC
Italic text style element.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
Get the textual value of this style.- Returns:
- The textual value of this style.
-
toString
- Overrides:
toString
in classEnum<ELcdNVGFontStyle>
-
fromValue
Convert the given string to his correspondingELcdNVGFontStyle
.- Parameters:
aValue
- The string representing a style.- Returns:
- The given string as
ELcdNVGStyle
.
-
toValue
Convert the given style to his string representation.- Parameters:
aValue
- The style to convert.- Returns:
- The given style as string representation.
-