| Modifier and Type | Class and Description |
|---|---|
| private static record | |
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final Field | |
| private final FieldMergerFactory | |
| private final BooleanBinding | |
| private final BooleanProperty | |
| private final BibEntry | |
| private final StringProperty | |
| private final Logger | |
| private final BibEntry | |
| private final StringProperty | |
| private @Nullable FieldRowViewModel. | mergedValues
Values captured the first time this row's fields were merged, so that unmerge can put them back and a later merge can reapply the same result. |
| private final BibEntry | |
| private final StringProperty | |
| private final ObjectProperty | |
| private boolean | showingMergedValue
Whether the merged value is currently shown, as opposed to the two original values. |
| Access | Constructor and Description |
|---|---|
| public | FieldRowViewModel(Field field, BibEntry leftEntry, BibEntry rightEntry, BibEntry mergedEntry, FieldMergerFactory fieldMergerFactory)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Field | |
| public BibEntry | |
| public String | |
| public BibEntry | |
| public String | |
| public BibEntry | |
| public String | |
| public FieldRowViewModel. | |
| public BooleanBinding | |
| public boolean | |
| public boolean | |
| public BooleanProperty | |
| public StringProperty | |
| public StringProperty | |
| public void | |
| public StringProperty | |
| public ObjectProperty | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| field | back to summary |
|---|---|
| private final Field field | |
| fieldMergerFactory | back to summary |
|---|---|
| private final FieldMergerFactory fieldMergerFactory | |
| hasEqualLeftAndRight | back to summary |
|---|---|
| private final BooleanBinding hasEqualLeftAndRight | |
| isFieldsMerged | back to summary |
|---|---|
| private final BooleanProperty isFieldsMerged | |
| leftEntry | back to summary |
|---|---|
| private final BibEntry leftEntry | |
| leftFieldValue | back to summary |
|---|---|
| private final StringProperty leftFieldValue | |
| LOGGER | back to summary |
|---|---|
| private final Logger LOGGER | |
| mergedEntry | back to summary |
|---|---|
| private final BibEntry mergedEntry | |
| mergedFieldValue | back to summary |
|---|---|
| private final StringProperty mergedFieldValue | |
| mergedValues | back to summary |
|---|---|
| private @Nullable FieldRowViewModel. Values captured the first time this row's fields were merged, so that unmerge can put them back and a later merge can reapply the same result. Null until the first merge. | |
| rightEntry | back to summary |
|---|---|
| private final BibEntry rightEntry | |
| rightFieldValue | back to summary |
|---|---|
| private final StringProperty rightFieldValue | |
| selection | back to summary |
|---|---|
| private final ObjectProperty<FieldRowViewModel. | |
| showingMergedValue | back to summary |
|---|---|
| private boolean showingMergedValue Whether the merged value is currently shown, as opposed to the two original values. | |
| FieldRowViewModel | back to summary |
|---|---|
| public FieldRowViewModel(Field field, BibEntry leftEntry, BibEntry rightEntry, BibEntry mergedEntry, FieldMergerFactory fieldMergerFactory) | |
| autoSelectBetterValue | back to summary |
|---|---|
| public void autoSelectBetterValue() | |
| getField | back to summary |
|---|---|
| public Field getField() | |
| getLeftEntry | back to summary |
|---|---|
| public BibEntry getLeftEntry() | |
| getLeftFieldValue | back to summary |
|---|---|
| public String getLeftFieldValue() | |
| getMergedEntry | back to summary |
|---|---|
| public BibEntry getMergedEntry() | |
| getMergedFieldValue | back to summary |
|---|---|
| public String getMergedFieldValue() | |
| getRightEntry | back to summary |
|---|---|
| public BibEntry getRightEntry() | |
| getRightFieldValue | back to summary |
|---|---|
| public String getRightFieldValue() | |
| getSelection | back to summary |
|---|---|
| public FieldRowViewModel. | |
| hasEqualLeftAndRightBinding | back to summary |
|---|---|
| public BooleanBinding hasEqualLeftAndRightBinding() | |
| hasEqualLeftAndRightValues | back to summary |
|---|---|
| public boolean hasEqualLeftAndRightValues() | |
| isFieldsMerged | back to summary |
|---|---|
| public boolean isFieldsMerged() | |
| isFieldsMergedProperty | back to summary |
|---|---|
| public BooleanProperty isFieldsMergedProperty() | |
| leftFieldValueProperty | back to summary |
|---|---|
| public StringProperty leftFieldValueProperty() | |
| mergedFieldValueProperty | back to summary |
|---|---|
| public StringProperty mergedFieldValueProperty() | |
| mergeFields | back to summary |
|---|---|
| public void mergeFields() | |
| rightFieldValueProperty | back to summary |
|---|---|
| public StringProperty rightFieldValueProperty() | |
| selectionProperty | back to summary |
|---|---|
| public ObjectProperty | |
| selectLeftValue | back to summary |
|---|---|
| public void selectLeftValue() | |
| selectNone | back to summary |
|---|---|
| public void selectNone() | |
| selectNonEmptyValue | back to summary |
|---|---|
| public void selectNonEmptyValue() | |
| selectRightValue | back to summary |
|---|---|
| public void selectRightValue() | |
| setIsFieldsMerged | back to summary |
|---|---|
| public void setIsFieldsMerged(boolean isFieldsMerged) | |
| setLeftFieldValue | back to summary |
|---|---|
| public void setLeftFieldValue(String leftFieldValue) | |
| setMergedFieldValue | back to summary |
|---|---|
| public void setMergedFieldValue(String mergedFieldValue) | |
| setRightFieldValue | back to summary |
|---|---|
| public void setRightFieldValue(String rightFieldValue) | |
| setSelection | back to summary |
|---|---|
| public void setSelection(FieldRowViewModel. | |
| unmergeFields | back to summary |
|---|---|
| public void unmergeFields() | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| 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 String | |
| public String | |
| public String | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| left | back to summary |
|---|---|
| private final String left Record Component accessed by left(). | |
| merged | back to summary |
|---|---|
| private final String merged Record Component accessed by merged(). | |
| right | back to summary |
|---|---|
| private final String right Record Component accessed by right(). | |
| MergedValues | back to summary |
|---|---|
| private MergedValues(String left, String right, String merged) | |
| 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 | |
| left | back to summary |
|---|---|
| public String left() Record Component getter of left. | |
| merged | back to summary |
|---|---|
| public String merged() Record Component getter of merged. | |
| right | back to summary |
|---|---|
| public String right() Record Component getter of right. | |
| 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. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final FieldRowViewModel. | |
| public static final FieldRowViewModel. | NONE
When the user types something into the merged field value and neither the left nor right values match it, NONE is selected |
| public static final FieldRowViewModel. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static FieldRowViewModel. | |
| public static FieldRowViewModel. |
| LEFT | back to summary |
|---|---|
| public static final FieldRowViewModel. | |
| NONE | back to summary |
|---|---|
| public static final FieldRowViewModel. When the user types something into the merged field value and neither the left nor right values match it, NONE is selected | |
| RIGHT | back to summary |
|---|---|
| public static final FieldRowViewModel. | |
| Selection | back to summary |
|---|---|
| private Selection() | |
| valueOf | back to summary |
|---|---|
| public static FieldRowViewModel. | |
| values | back to summary |
|---|---|
| public static FieldRowViewModel. | |