Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public enum Console.Style
- Object
- Enum<Console.Style>
- Console.Style
ImplementsComparable<Console.Style>
The styles
style can apply.Enum constants
BOLD | Bold text. |
FAINT | Faint text. |
ITALIC | Italic text. |
UNDERLINE | Underlined text. |
INVERSE | Foreground and background swapped. |
STRIKETHROUGH | Struck-through text. |
BLACK | Black text. |
RED | Red text. |
GREEN | Green text. |
YELLOW | Yellow text. |
BLUE | Blue text. |
MAGENTA | Magenta text. |
CYAN | Cyan text. |
WHITE | White text. |
GRAY | Gray text, the bright variant of black. |
Methods
public static Console.Style[] values() | |
public static Console.Style valueOf(String name) |
Inherited methods
Enum constant details
BOLD
BOLDBold text.
FAINT
FAINTFaint text.
ITALIC
ITALICItalic text.
UNDERLINE
UNDERLINEUnderlined text.
INVERSE
INVERSEForeground and background swapped.
STRIKETHROUGH
STRIKETHROUGHStruck-through text.
BLACK
BLACKBlack text.
RED
REDRed text.
GREEN
GREENGreen text.
YELLOW
YELLOWYellow text.
BLUE
BLUEBlue text.
MAGENTA
MAGENTAMagenta text.
CYAN
CYANCyan text.
WHITE
WHITEWhite text.
GRAY
GRAYGray text, the bright variant of black.
Method details
values
public static Console.Style[] values()valueOf
public static Console.Style valueOf(String name)