Enum AWTTerminalFontConfiguration.BoldMode

java.lang.Object
java.lang.Enum<AWTTerminalFontConfiguration.BoldMode>
com.googlecode.lanterna.terminal.swing.AWTTerminalFontConfiguration.BoldMode
All Implemented Interfaces:
Serializable, Comparable<AWTTerminalFontConfiguration.BoldMode>, java.lang.constant.Constable
Enclosing class:
AWTTerminalFontConfiguration

public static enum AWTTerminalFontConfiguration.BoldMode extends Enum<AWTTerminalFontConfiguration.BoldMode>
Controls how the SGR bold will take effect when enabled on a character. Mainly this is controlling if the character should be rendered with a bold font or not. The reason for this is that some characters, notably the lines and double-lines in defined in Symbol, usually doesn't look very good with bold font when you try to construct a GUI.
  • Enum Constant Details

  • Constructor Details

    • BoldMode

      private BoldMode()
  • Method Details

    • values

      public static AWTTerminalFontConfiguration.BoldMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AWTTerminalFontConfiguration.BoldMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null