public enum ConflictColors extends java.lang.Enum<ConflictColors> implements Preferences.ColorKey
Enum Constant and Description |
---|
BGCOLOR
Conflict background
|
BGCOLOR_COMBINED
Conflict background: combined
|
BGCOLOR_DECIDED
Conflict background: decided
|
BGCOLOR_DROP
Conflict background: drop
|
BGCOLOR_EMPTY_ROW
Conflict background: empty row
|
BGCOLOR_FROZEN
Conflict background: frozen
|
BGCOLOR_IN_OPPOSITE
Conflict background: in opposite
|
BGCOLOR_KEEP
Conflict background: keep
|
BGCOLOR_MEMBER_KEEP
Conflict background: keep member
|
BGCOLOR_MEMBER_REMOVE
Conflict background: remove member
|
BGCOLOR_NO_CONFLICT
Conflict background: no conflict
|
BGCOLOR_NOT_IN_OPPOSITE
Conflict background: not in opposite
|
BGCOLOR_PARTICIPATING_IN_COMPARISON
Conflict background: in comparison
|
BGCOLOR_SAME_POSITION_IN_OPPOSITE
Conflict background: same position in opposite
|
BGCOLOR_SELECTED
Conflict background: selected
|
BGCOLOR_TAG_KEEP_ALL
Conflict background: keep all tags
|
BGCOLOR_TAG_KEEP_NONE
Conflict background: drop tag
|
BGCOLOR_TAG_KEEP_ONE
Conflict background: keep one tag
|
BGCOLOR_TAG_SUM_ALL_NUM
Conflict background: sum all numeric tags
|
BGCOLOR_UNDECIDED
Conflict background: undecided
|
FGCOLOR
Conflict foreground
|
FGCOLOR_DROP
Conflict foreground: drop
|
FGCOLOR_KEEP
Conflict foreground: keep
|
FGCOLOR_MEMBER_KEEP
Conflict foreground: keep member
|
FGCOLOR_MEMBER_REMOVE
Conflict foreground: remove member
|
FGCOLOR_PARTICIPATING_IN_COMPARISON
Conflict foreground: in comparison
|
FGCOLOR_TAG_KEEP_ALL
Conflict foreground: keep all tags
|
FGCOLOR_TAG_KEEP_NONE
Conflict foreground: drop tag
|
FGCOLOR_TAG_KEEP_ONE
Conflict foreground: keep one tag
|
FGCOLOR_TAG_SUM_ALL_NUM
Conflict foreground: sum all numeric tags
|
FGCOLOR_UNDECIDED
Conflict foreground: undecided
|
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_TAG_SUM_ALL_NUM
public static final ConflictColors FGCOLOR_TAG_SUM_ALL_NUM
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()