public enum HighContrastColor extends Enum<HighContrastColor>
| Enum Constant and Description |
|---|
BLUE |
CYAN |
DARK_BLUE |
DARK_CYAN |
DARK_GREEN |
DARK_ORANGE |
DARK_PURPLE |
DARK_RED |
DARK_YELLOW |
GREEN |
LIGHT_BLUE |
LIGHT_CYAN |
LIGHT_GREEN |
LIGHT_ORANGE |
LIGHT_PURPLE |
LIGHT_RED |
LIGHT_YELLOW |
ORANGE |
PURPLE |
RED |
YELLOW |
| Modifier and Type | Method and Description |
|---|---|
static String |
generateColorFromHashcode(Object obj)
Generates a color for the given Object.
|
static HighContrastColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HighContrastColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HighContrastColor DARK_RED
public static final HighContrastColor RED
public static final HighContrastColor LIGHT_RED
public static final HighContrastColor DARK_BLUE
public static final HighContrastColor BLUE
public static final HighContrastColor LIGHT_BLUE
public static final HighContrastColor DARK_YELLOW
public static final HighContrastColor YELLOW
public static final HighContrastColor LIGHT_YELLOW
public static final HighContrastColor DARK_ORANGE
public static final HighContrastColor ORANGE
public static final HighContrastColor LIGHT_ORANGE
public static final HighContrastColor DARK_GREEN
public static final HighContrastColor GREEN
public static final HighContrastColor LIGHT_GREEN
public static final HighContrastColor DARK_PURPLE
public static final HighContrastColor PURPLE
public static final HighContrastColor LIGHT_PURPLE
public static final HighContrastColor DARK_CYAN
public static final HighContrastColor CYAN
public static final HighContrastColor LIGHT_CYAN
public static HighContrastColor[] values()
for (HighContrastColor c : HighContrastColor.values()) System.out.println(c);
public static HighContrastColor 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 nullCopyright © 2017–2021 JBoss by Red Hat. All rights reserved.