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.
UNDERLINEUnderlined text.
REDRed text.
GREENGreen text.
YELLOWYellow text.
BLUEBlue text.
CYANCyan text.

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.

UNDERLINE

UNDERLINE
Underlined text.

RED

RED
Red text.

GREEN

GREEN
Green text.

YELLOW

YELLOW
Yellow text.

BLUE

BLUE
Blue text.

CYAN

CYAN
Cyan text.

Method details

values

public static Console.Style[] values()

valueOf

public static Console.Style valueOf(String name)