| Modifier and Type | Class and Description |
|---|---|
| public static enum | |
| pack-priv static record | |
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| protected DiffMethod | |
| protected final StyleClassedTextArea | |
| protected final StyleClassedTextArea |
| Access | Constructor and Description |
|---|---|
| public | DiffHighlighter(@NonNull StyleClassedTextArea sourceTextview, @NonNull StyleClassedTextArea targetTextview, DiffMethod diffMethod)
|
| Modifier and Type | Method and Description |
|---|---|
| public DiffMethod | |
| public String | |
| pack-priv abstract void | |
| protected String | |
| private void | |
| protected List |
| diffMethod | back to summary |
|---|---|
| protected DiffMethod diffMethod | |
| sourceTextview | back to summary |
|---|---|
| protected final StyleClassedTextArea sourceTextview | |
| targetTextview | back to summary |
|---|---|
| protected final StyleClassedTextArea targetTextview | |
| DiffHighlighter | back to summary |
|---|---|
| public DiffHighlighter(@NonNull StyleClassedTextArea sourceTextview, @NonNull StyleClassedTextArea targetTextview, DiffMethod diffMethod) | |
| getDiffMethod | back to summary |
|---|---|
| public DiffMethod getDiffMethod() | |
| getSeparator | back to summary |
|---|---|
| public String getSeparator() | |
| highlight | back to summary |
|---|---|
| pack-priv abstract void highlight() | |
| join | back to summary |
|---|---|
| protected String join(List<String> stringList) | |
| setDiffMethod | back to summary |
|---|---|
| private void setDiffMethod(DiffMethod diffMethod) | |
| splitString | back to summary |
|---|---|
| protected List | |
| Modifier and Type | Field and Description |
|---|---|
| public static final DiffHighlighter. | |
| public static final DiffHighlighter. | |
| private final String | |
| public static final DiffHighlighter. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public static DiffHighlighter. | |
| public static DiffHighlighter. |
| CHARS | back to summary |
|---|---|
| public static final DiffHighlighter. | |
| COMMA | back to summary |
|---|---|
| public static final DiffHighlighter. | |
| separator | back to summary |
|---|---|
| private final String separator | |
| WORDS | back to summary |
|---|---|
| public static final DiffHighlighter. | |
| BasicDiffMethod | back to summary |
|---|---|
| private BasicDiffMethod(String separator) | |
| separator | back to summary |
|---|---|
| public String separator() Implements org.
| |
| valueOf | back to summary |
|---|---|
| public static DiffHighlighter. | |
| values | back to summary |
|---|---|
| public static DiffHighlighter. | |
| Modifier and Type | Field and Description |
|---|---|
| private final int | position
Record Component accessed by position(). |
| private final int | spanSize
Record Component accessed by spanSize(). |
| private final DiffHighlighter. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public int | |
| public int | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| public DiffHighlighter. |
| position | back to summary |
|---|---|
| private final int position Record Component accessed by position(). | |
| spanSize | back to summary |
|---|---|
| private final int spanSize Record Component accessed by spanSize(). | |
| type | back to summary |
|---|---|
| private final DiffHighlighter. Record Component accessed by type(). | |
| Change | back to summary |
|---|---|
| pack-priv Change(int position, int spanSize, DiffHighlighter. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| position | back to summary |
|---|---|
| public int position() Record Component getter of position. | |
| spanSize | back to summary |
|---|---|
| public int spanSize() Record Component getter of spanSize. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| type | back to summary |
|---|---|
| public DiffHighlighter. Record Component getter of type. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final DiffHighlighter. | |
| public static final DiffHighlighter. | |
| public static final DiffHighlighter. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static DiffHighlighter. | |
| public static DiffHighlighter. |
| ADDITION | back to summary |
|---|---|
| public static final DiffHighlighter. | |
| CHANGE_DELETION | back to summary |
|---|---|
| public static final DiffHighlighter. | |
| DELETION | back to summary |
|---|---|
| public static final DiffHighlighter. | |
| ChangeType | back to summary |
|---|---|
| private ChangeType() | |
| valueOf | back to summary |
|---|---|
| public static DiffHighlighter. | |
| values | back to summary |
|---|---|
| public static DiffHighlighter. | |