AllFieldsTab into display sections
(Google-Contacts-style grouping, issue #12711). Plain Java (no JavaFX) so the
partition logic is unit-testable.
| Modifier and Type | Class and Description |
|---|---|
| public static record | |
| public static enum | FieldListSections.
Declaration order == display order in the scroll list. |
| Modifier and Type | Field and Description |
|---|---|
| private static final SequencedSet | BIBLIOMETRY_FIELDS
Order = chip/display order in the Bibliometrics section. |
| private static final SequencedSet | FILE_AND_LINK_FIELDS
Order = chip/display order in the Files and links section. |
| private static final SequencedSet | IDENTIFIER_FIELDS
|
| private static final SequencedSet | |
| private static final SequencedSet | META_FIELDS
Membership of the Meta section; a superset of |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static SequencedSet | |
| public static SequencedSet | fieldsOf(FieldListSections.
All fields belonging to the given section (in display order) — the basis for the section's add-chips. |
| public static List | partition(SequencedCollection<Field> orderedFields)
Splits |
| public static FieldListSections. | |
| public static SequencedSet | subtract(SequencedCollection<Field> candidates, Collection<Field> shown)
The candidates (in their given order) that are not part of |
| BIBLIOMETRY_FIELDS | back to summary |
|---|---|
| private static final SequencedSet<Field> BIBLIOMETRY_FIELDS Order = chip/display order in the Bibliometrics section. | |
| FILE_AND_LINK_FIELDS | back to summary |
|---|---|
| private static final SequencedSet<Field> FILE_AND_LINK_FIELDS Order = chip/display order in the Files and links section. | |
| IDENTIFIER_FIELDS | back to summary |
|---|---|
| private static final SequencedSet<Field> IDENTIFIER_FIELDS
| |
| META_CHIP_FIELDS | back to summary |
|---|---|
| private static final SequencedSet<Field> META_CHIP_FIELDS | |
| META_FIELDS | back to summary |
|---|---|
| private static final SequencedSet<Field> META_FIELDS Membership of the Meta section; a superset of | |
| FieldListSections | back to summary |
|---|---|
| private FieldListSections() | |
| buildMetaChipFields | back to summary |
|---|---|
| private static SequencedSet | |
| fieldsOf | back to summary |
|---|---|
| public static SequencedSet All fields belonging to the given section (in display order) — the basis for the
section's add-chips. Empty for | |
| partition | back to summary |
|---|---|
| public static List Splits | |
| sectionOf | back to summary |
|---|---|
| public static FieldListSections. | |
| subtract | back to summary |
|---|---|
| public static SequencedSet The candidates (in their given order) that are not part of | |
| Modifier and Type | Field and Description |
|---|---|
| private final SequencedSet | |
| private final FieldListSections. |
| Access | Constructor and Description |
|---|---|
| public |
| 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 SequencedSet | |
| public final int | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| public FieldListSections. |
| fields | back to summary |
|---|---|
| private final SequencedSet<Field> fields Record Component accessed by fields(). | |
| type | back to summary |
|---|---|
| private final FieldListSections. Record Component accessed by type(). | |
| Section | back to summary |
|---|---|
| public Section(FieldListSections. | |
| 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).
| |
| fields | back to summary |
|---|---|
| public SequencedSet Record Component getter of fields. | |
| 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 | |
| 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 FieldListSections. Record Component getter of type. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final FieldListSections. | BIBLIOMETRY
External metrics about the paper (citation count, ICORE ranking). |
| public static final FieldListSections. | |
| public static final FieldListSections. | |
| public static final FieldListSections. | |
| public static final FieldListSections. | MAIN
Everything that is not in one of the special groups; rendered without a header. |
| public static final FieldListSections. | META
Fields about the library entry itself rather than the paper: crossref, groups, owner, timestamps, and the special fields (ranking, priority, read status, …). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | |
| public static FieldListSections. | |
| public static FieldListSections. |
| BIBLIOMETRY | back to summary |
|---|---|
| public static final FieldListSections. External metrics about the paper (citation count, ICORE ranking). | |
| COMMENTS | back to summary |
|---|---|
| public static final FieldListSections. | |
| FILES_AND_LINKS | back to summary |
|---|---|
| public static final FieldListSections. | |
| IDENTIFIERS | back to summary |
|---|---|
| public static final FieldListSections. | |
| MAIN | back to summary |
|---|---|
| public static final FieldListSections. Everything that is not in one of the special groups; rendered without a header. | |
| META | back to summary |
|---|---|
| public static final FieldListSections. Fields about the library entry itself rather than the paper: crossref, groups, owner, timestamps, and the special fields (ranking, priority, read status, …). | |
| SectionType | back to summary |
|---|---|
| private SectionType() | |
| header | back to summary |
|---|---|
| public Optional The localized section heading; empty for | |
| valueOf | back to summary |
|---|---|
| public static FieldListSections. | |
| values | back to summary |
|---|---|
| public static FieldListSections. | |