Module com.googlecode.lanterna
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll characters with SGR Bold enabled will be rendered using a bold fontAll characters with SGR Bold enabled, except for the characters defined as constants in Symbols class, will be rendered using a bold fontBold font will not be used for characters with SGR bold enabled -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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 Details
-
BoldMode
private BoldMode()
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-