public static class TextDiffTypeFactory.TextDiffTypeImpl extends java.lang.Object implements TextDiffType
CONFLICT, DELETED, INSERTED, MODIFIED
Constructor and Description |
---|
TextDiffTypeImpl(TextAttributesKey key,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
TextAttributes |
getAttributes(Editor editor) |
java.awt.Color |
getColor(Editor editor) |
java.awt.Color |
getIgnoredColor(Editor editor) |
TextAttributesKey |
getKey() |
java.awt.Color |
getMarkerColor(Editor editor) |
java.lang.String |
getName() |
java.lang.String |
toString() |
public TextDiffTypeImpl(TextAttributesKey key, java.lang.String name)
public java.lang.String getName()
getName
in interface TextDiffType
public TextAttributes getAttributes(Editor editor)
public java.awt.Color getColor(Editor editor)
getColor
in interface TextDiffType
public java.awt.Color getIgnoredColor(Editor editor)
getIgnoredColor
in interface TextDiffType
public java.awt.Color getMarkerColor(Editor editor)
getMarkerColor
in interface TextDiffType
public TextAttributesKey getKey()
public java.lang.String toString()
toString
in class java.lang.Object