Enum AWTTerminalFontConfiguration.BoldMode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AWTTerminalFontConfiguration.BoldMode>
    Enclosing class:
    AWTTerminalFontConfiguration

    public static enum AWTTerminalFontConfiguration.BoldMode
    extends java.lang.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 Summary

      Enum Constants 
      Enum Constant Description
      EVERYTHING
      All characters with SGR Bold enabled will be rendered using a bold font
      EVERYTHING_BUT_SYMBOLS
      All characters with SGR Bold enabled, except for the characters defined as constants in Symbols class, will be rendered using a bold font
      NOTHING
      Bold font will not be used for characters with SGR bold enabled
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private BoldMode()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static AWTTerminalFontConfiguration.BoldMode valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static AWTTerminalFontConfiguration.BoldMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BoldMode

        private BoldMode()
    • Method Detail

      • values

        public static AWTTerminalFontConfiguration.BoldMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AWTTerminalFontConfiguration.BoldMode c : AWTTerminalFontConfiguration.BoldMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AWTTerminalFontConfiguration.BoldMode valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null