Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public enum Console.Style

  1. Object
  2. Enum<Console.Style>
  3. Console.Style

ImplementsComparable<Console.Style>

The styles style can apply.

Enum constants

BOLDBold text.
FAINTFaint text.
ITALICItalic text.
UNDERLINEUnderlined text.
INVERSEForeground and background swapped.
STRIKETHROUGHStruck-through text.
BLACKBlack text.
REDRed text.
GREENGreen text.
YELLOWYellow text.
BLUEBlue text.
MAGENTAMagenta text.
CYANCyan text.
WHITEWhite text.
GRAYGray 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

BOLD
Bold text.

FAINT

FAINT
Faint text.

ITALIC

ITALIC
Italic text.

UNDERLINE

UNDERLINE
Underlined text.

INVERSE

INVERSE
Foreground and background swapped.

STRIKETHROUGH

STRIKETHROUGH
Struck-through text.

BLACK

BLACK
Black text.

RED

RED
Red text.

GREEN

GREEN
Green text.

YELLOW

YELLOW
Yellow text.

BLUE

BLUE
Blue text.

MAGENTA

MAGENTA
Magenta text.

CYAN

CYAN
Cyan text.

WHITE

WHITE
White text.

GRAY

GRAY
Gray text, the bright variant of black.

Method details

values

public static Console.Style[] values()

valueOf

public static Console.Style valueOf(String name)