public enum Colors extends Enum<Colors>
Enum Constant and Description |
---|
ANTI_FG
Opposite of text on background color.
|
BG
The background color.
|
BG_BLUE
The color for blue text on background color.
|
BG_GREEN
The color for green text on background color.
|
BG_ORANGE_RED
The color for orange-red text on background color.
|
BG_RED
The color for red text on background color.
|
BLACK
The color for black text on medium-value backgrounds.
|
BLUE
The color for blue text on medium backgrounds.
|
DARK_GRAY
The color for dark gray text on medium backgrounds.
|
EMPHASIZED_BG
The emphasized background color.
|
FG
The color for text on background color.
|
FG_SUBDUED
The color for subdued text on background color.
|
FG_VERY_SUBDUED
The color for very subdued text on background color.
|
GRAY
The color for gray text on medium backgrounds.
|
GREEN
The color for green text on medium backgrounds.
|
HL_BLUE
The color for blue highlights, handles, etc.
|
HL_GREEN
The color for green highlights, handles, etc.
|
HL_RED
The color for red highlights, handles, etc.
|
MAGENTA
The color for magenta text on medium backgrounds.
|
OUTLINE
Outline color for things that should not be outlined when the
background is dark.
|
RED
The color for dark red text on medium backgrounds.
|
SELECT_BG
The selected background color.
|
VIEWER_BG
The viewer background color for primitives, links, etc.
|
VIEWER_BG_UNUSED
The viewer background color for unused primitives, links, etc.
|
VIEWER_INDEX_POINTER
The viewer index pointer arrow color.
|
VIEWER_VALUE_BG
The viewer background color for primitives, links, etc.
|
WHITE
The color for white things.
|
Modifier and Type | Method and Description |
---|---|
abstract Color |
computeColor(grasp.icons.GlobalIconStyle gIS)
Computes the Color corresponding to a color constant.
|
static Colors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Colors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Colors BG
public static final Colors EMPHASIZED_BG
public static final Colors SELECT_BG
public static final Colors FG
public static final Colors FG_SUBDUED
public static final Colors FG_VERY_SUBDUED
public static final Colors ANTI_FG
public static final Colors WHITE
public static final Colors BLACK
public static final Colors GRAY
public static final Colors DARK_GRAY
public static final Colors RED
public static final Colors BG_RED
public static final Colors HL_RED
public static final Colors GREEN
public static final Colors BG_GREEN
public static final Colors MAGENTA
public static final Colors HL_GREEN
public static final Colors BLUE
public static final Colors BG_BLUE
public static final Colors HL_BLUE
public static final Colors BG_ORANGE_RED
public static final Colors OUTLINE
public static final Colors VIEWER_VALUE_BG
public static final Colors VIEWER_BG
public static final Colors VIEWER_BG_UNUSED
public static final Colors VIEWER_INDEX_POINTER
public static Colors[] values()
for (Colors c : Colors.values()) System.out.println(c);
public static Colors valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract Color computeColor(grasp.icons.GlobalIconStyle gIS)
gIS
- the global icon style to be applied.