Enum Class ELcdNVGFontWeight

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

public enum ELcdNVGFontWeight extends Enum<ELcdNVGFontWeight>
Weight enumeration (normal or bold). The font weight attribute is used to determine if the font of a label or a text object needs to be bold or not.
Since:
2015.0
  • Enum Constant Details Link icon

  • Method Details Link icon

    • values Link icon

      public static ELcdNVGFontWeight[] 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 Link icon

      public static ELcdNVGFontWeight 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 Link icon

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

      public String toString()
      Overrides:
      toString in class Enum<ELcdNVGFontWeight>
    • fromValue Link icon

      public static ELcdNVGFontWeight fromValue(String aValue)
      Convert the given string to his corresponding ELcdNVGWeight .
      Parameters:
      aValue - The string representing a weight.
      Returns:
      The given string as ELcdNVGFontWeight.
    • toValue Link icon

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