Package | Description |
---|---|
org.jboss.aesh.terminal |
Modifier and Type | Method and Description |
---|---|
static Color |
Color.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Color[] |
Color.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
TerminalColor(Color text,
Color background) |
TerminalColor(Color textColor,
Color background,
Color.Intensity intensity) |
TerminalColor(Color text,
int background) |
TerminalColor(Color text,
int background,
Color.Intensity intensity) |
TerminalColor(int text,
Color background)
0x00-0x07: standard colors (as in ESC [ 30..37 m)
0x08-0x0f: high intensity colors (as in ESC [ 90..97 m)
0x10-0xe7: 6*6*6=216 colors: 16 + 36*r + 6*g + b (0≤r,g,b≤5)
0xe8-0xff: grayscale from black to white in 24 steps
|
TerminalColor(int text,
Color background,
Color.Intensity intensity) |
Copyright © 2020 JBoss, a division of Red Hat, Inc.. All Rights Reserved.