java.lang.Object
java.lang.Enum<FontWeight>
com.inductiveautomation.perspective.designer.styles.attributes.FontWeight
All Implemented Interfaces:
AlternateName, Serializable, Comparable<FontWeight>, Constable

public enum FontWeight extends Enum<FontWeight> implements AlternateName
  • Enum Constant Details

    • normal

      public static final FontWeight normal
    • bold

      public static final FontWeight bold
    • lighter

      public static final FontWeight lighter
    • bolder

      public static final FontWeight bolder
    • weight100

      public static final FontWeight weight100
    • weight200

      public static final FontWeight weight200
    • weight300

      public static final FontWeight weight300
    • weight400

      public static final FontWeight weight400
    • weight500

      public static final FontWeight weight500
    • weight600

      public static final FontWeight weight600
    • weight700

      public static final FontWeight weight700
    • weight800

      public static final FontWeight weight800
    • weight900

      public static final FontWeight weight900
  • Method Details

    • values

      public static FontWeight[] 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 FontWeight 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
    • getAlternateName

      public String getAlternateName()
      Specified by:
      getAlternateName in interface AlternateName