Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public enum Console.ColorLevel
- Object
- Enum<Console.ColorLevel>
- Console.ColorLevel
ImplementsComparable<Console.ColorLevel>
How many colors the terminal shows, the level
Ansi converts colors
down to.Enum constants
NONE | No escape codes at all. |
ANSI16 | The 16 basic colors. |
ANSI256 | The 256-color palette. |
TRUECOLOR | 24-bit color. |
Methods
public static Console.ColorLevel[] values() | |
public static Console.ColorLevel valueOf(String name) |
Inherited methods
Enum constant details
NONE
NONENo escape codes at all.
ANSI16
ANSI16The 16 basic colors.
ANSI256
ANSI256The 256-color palette.
TRUECOLOR
TRUECOLOR24-bit color.
Method details
values
public static Console.ColorLevel[] values()valueOf
public static Console.ColorLevel valueOf(String name)