- java.lang.Object
-
- java.lang.Enum<DoubleSizeCharacters.Mode>
-
- org.jline.terminal.impl.DoubleSizeCharacters.Mode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DoubleSizeCharacters.Mode>
- Enclosing class:
- DoubleSizeCharacters
public static enum DoubleSizeCharacters.Mode extends java.lang.Enum<DoubleSizeCharacters.Mode>
Enumeration of double-size character modes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOUBLE_HEIGHT_BOTTOMDouble-width, double-height characters (bottom half)DOUBLE_HEIGHT_TOPDouble-width, double-height characters (top half)DOUBLE_WIDTHDouble-width, single-height charactersNORMALNormal single-width, single-height characters
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DoubleSizeCharacters.ModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DoubleSizeCharacters.Mode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final DoubleSizeCharacters.Mode NORMAL
Normal single-width, single-height characters
-
DOUBLE_WIDTH
public static final DoubleSizeCharacters.Mode DOUBLE_WIDTH
Double-width, single-height characters
-
DOUBLE_HEIGHT_TOP
public static final DoubleSizeCharacters.Mode DOUBLE_HEIGHT_TOP
Double-width, double-height characters (top half)
-
DOUBLE_HEIGHT_BOTTOM
public static final DoubleSizeCharacters.Mode DOUBLE_HEIGHT_BOTTOM
Double-width, double-height characters (bottom half)
-
-
Method Detail
-
values
public static DoubleSizeCharacters.Mode[] 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 (DoubleSizeCharacters.Mode c : DoubleSizeCharacters.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DoubleSizeCharacters.Mode 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 namejava.lang.NullPointerException- if the argument is null
-
-