public static enum TwoColumnDiff.Item.DiffItemType extends java.lang.Enum<TwoColumnDiff.Item.DiffItemType>
Enum Constant and Description |
---|
CHANGED |
DELETED |
EMPTY |
INSERTED |
SAME |
Modifier and Type | Field and Description |
---|---|
private java.awt.Color |
color |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor() |
static TwoColumnDiff.Item.DiffItemType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TwoColumnDiff.Item.DiffItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TwoColumnDiff.Item.DiffItemType INSERTED
public static final TwoColumnDiff.Item.DiffItemType DELETED
public static final TwoColumnDiff.Item.DiffItemType CHANGED
public static final TwoColumnDiff.Item.DiffItemType SAME
public static final TwoColumnDiff.Item.DiffItemType EMPTY
private final java.awt.Color color
public static TwoColumnDiff.Item.DiffItemType[] values()
for (TwoColumnDiff.Item.DiffItemType c : TwoColumnDiff.Item.DiffItemType.values()) System.out.println(c);
public static TwoColumnDiff.Item.DiffItemType 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.awt.Color getColor()