Enum Class FontKind

java.lang.Object
java.lang.Enum<FontKind>
com._1c.g5.v8.dt.md.fonts.FontKind
All Implemented Interfaces:
Serializable, Comparable<FontKind>, Constable

public enum FontKind extends Enum<FontKind>
Font kinds.
  • Enum Constant Details

    • ABSOLUTE_FONT

      public static final FontKind ABSOLUTE_FONT
      Absolute font.
    • SYSTEM_FONT

      public static final FontKind SYSTEM_FONT
      System font.
    • V8_FONT

      public static final FontKind V8_FONT
      Style font.
    • AUTO_FONT

      public static final FontKind AUTO_FONT
      Auto font.
  • Method Details

    • values

      public static FontKind[] 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 FontKind 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
    • getKind

      public static FontKind getKind(int value)
      Returns font kind by value.
      Parameters:
      value - the font kind value.
      Returns:
      the font kind by value, if not founded - returns auto.
    • getValue

      public int getValue()
      Returns font kind value.
      Returns:
      font kind value.