Enum Class FontType

java.lang.Object
java.lang.Enum<FontType>
org.loboevolution.laf.FontType
All Implemented Interfaces:
Serializable, Comparable<FontType>, Constable

public enum FontType extends Enum<FontType>

FontType class.

  • Enum Constant Details

    • STRIKETHROUGH

      public static final FontType STRIKETHROUGH
    • SUBSCRIPT

      public static final FontType SUBSCRIPT
    • SUPERSCRIPT

      public static final FontType SUPERSCRIPT
    • TEXTURE

      public static final FontType TEXTURE
    • TIMES_NEW_ROMAN

      public static final FontType TIMES_NEW_ROMAN
    • UNDERLINE

      public static final FontType UNDERLINE
  • Method Details

    • values

      public static FontType[] 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 FontType 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
    • isEqual

      public boolean isEqual(String value)

      isEqual.

      Parameters:
      value - a String object.
      Returns:
      a boolean.
    • get

      public static FontType get(String actionName)

      get.

      Parameters:
      actionName - a String object.
      Returns:
      a FontType object.