public enum ConflictColors extends java.lang.Enum<ConflictColors> implements Preferences.ColorKey
Modifier and Type | Field and Description |
---|---|
private java.awt.Color |
defaultColor |
private java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
get()
Returns the color.
|
java.lang.String |
getColorName() |
static void |
getColors()
Loads all colors from preferences.
|
java.awt.Color |
getDefaultValue() |
java.lang.String |
getSpecialName() |
static ConflictColors |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConflictColors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConflictColors BGCOLOR_NO_CONFLICT
public static final ConflictColors BGCOLOR_DECIDED
public static final ConflictColors BGCOLOR_UNDECIDED
public static final ConflictColors BGCOLOR_DROP
public static final ConflictColors BGCOLOR_KEEP
public static final ConflictColors BGCOLOR_COMBINED
public static final ConflictColors BGCOLOR_SELECTED
public static final ConflictColors FGCOLOR_UNDECIDED
public static final ConflictColors FGCOLOR_DROP
public static final ConflictColors FGCOLOR_KEEP
public static final ConflictColors BGCOLOR_EMPTY_ROW
public static final ConflictColors BGCOLOR_FROZEN
public static final ConflictColors BGCOLOR_PARTICIPATING_IN_COMPARISON
public static final ConflictColors FGCOLOR_PARTICIPATING_IN_COMPARISON
public static final ConflictColors BGCOLOR
public static final ConflictColors FGCOLOR
public static final ConflictColors BGCOLOR_NOT_IN_OPPOSITE
public static final ConflictColors BGCOLOR_IN_OPPOSITE
public static final ConflictColors BGCOLOR_SAME_POSITION_IN_OPPOSITE
public static final ConflictColors BGCOLOR_TAG_KEEP_ONE
public static final ConflictColors FGCOLOR_TAG_KEEP_ONE
public static final ConflictColors BGCOLOR_TAG_KEEP_NONE
public static final ConflictColors FGCOLOR_TAG_KEEP_NONE
public static final ConflictColors BGCOLOR_TAG_KEEP_ALL
public static final ConflictColors FGCOLOR_TAG_KEEP_ALL
public static final ConflictColors BGCOLOR_MEMBER_KEEP
public static final ConflictColors FGCOLOR_MEMBER_KEEP
public static final ConflictColors BGCOLOR_MEMBER_REMOVE
public static final ConflictColors FGCOLOR_MEMBER_REMOVE
private final java.lang.String name
private final java.awt.Color defaultColor
public static ConflictColors[] values()
for (ConflictColors c : ConflictColors.values()) System.out.println(c);
public static ConflictColors valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getColorName()
getColorName
in interface Preferences.ColorKey
public java.awt.Color getDefaultValue()
getDefaultValue
in interface Preferences.ColorKey
public java.lang.String getSpecialName()
getSpecialName
in interface Preferences.ColorKey
public java.awt.Color get()
public static void getColors()