Enum Class ELcdNVGFontStyle

java.lang.Object
java.lang.Enum<ELcdNVGFontStyle>
com.luciad.format.nvg.model.ELcdNVGFontStyle
All Implemented Interfaces:
Serializable, Comparable<ELcdNVGFontStyle>, Constable

public enum ELcdNVGFontStyle extends Enum<ELcdNVGFontStyle>
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
  • Enum Constant Details

    • NORMAL

      public static final ELcdNVGFontStyle NORMAL
      Normal text style element.
    • ITALIC

      public static final ELcdNVGFontStyle ITALIC
      Italic text style element.
  • Method Details

    • values

      public static ELcdNVGFontStyle[] 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

      public static ELcdNVGFontStyle valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • value

      public String value()
      Get the textual value of this style.
      Returns:
      The textual value of this style.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ELcdNVGFontStyle>
    • fromValue

      public static ELcdNVGFontStyle fromValue(String aValue)
      Convert the given string to his corresponding ELcdNVGFontStyle.
      Parameters:
      aValue - The string representing a style.
      Returns:
      The given string as ELcdNVGStyle .
    • toValue

      public static String toValue(ELcdNVGFontStyle aValue)
      Convert the given style to his string representation.
      Parameters:
      aValue - The style to convert.
      Returns:
      The given style as string representation.