| Modifier and Type | Class and Description |
|---|---|
| private static record | |
| private static record | |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private final BibDatabaseContext | |
| private final FilteredList | |
| private final SortedList | |
| private final ObservableList | |
| private final ObjectProperty | |
| private Optional | |
| private final GroupsPreferences | |
| private final AtomicLong | |
| private final com. | |
| private final MainTableDataModel. | |
| private final Logger | |
| private final NameDisplayPreferences | |
| private final @Nullable SearchContext | |
| private final com. | |
| private final SearchPreferences | |
| private final org.jabref.logic.util.OptionalObjectProperty | |
| private final com. | |
| private final AtomicLong | |
| private final com. | |
| private final TaskExecutor |
| Access | Constructor and Description |
|---|---|
| public | MainTableDataModel(BibDatabaseContext context, GuiPreferences preferences, TaskExecutor taskExecutor, @Nullable SearchContext searchContext, ListProperty<GroupTreeNode> selectedGroupsProperty, org.jabref.logic.util.OptionalObjectProperty<SearchQuery> searchQueryProperty, IntegerProperty resultSizeProperty)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private static MainTableDataModel. | calculateGroupMatches(List<GroupTreeNode> selectedGroups, EnumSet<GroupViewMode> groupViewMode, List<BibEntryTableViewModel> entries)
|
| private MainTableDataModel. | |
| private void | |
| private static Optional | |
| public SortedList | |
| public Optional | |
| public Optional | |
| public void | refreshSearchMatches()
Refresh the current search We need to call this when the database is switched during a fulltext search since the listener on the searchQueryProperty will not fire if the query doesn't change (this causes searchResults in FullTextResultsTab to be empty) issue 13241 |
| public void | |
| private static void | |
| private void | |
| public void | |
| private void | updateEntryGroupMatch(BibEntryTableViewModel entry, Optional<MatcherSet> groupsMatcher, boolean isInvertMode, boolean isFloatingMode)
|
| private static void | |
| private static void | |
| private void | |
| private void | |
| private void |
| bibDatabaseContext | back to summary |
|---|---|
| private final BibDatabaseContext bibDatabaseContext | |
| entriesFiltered | back to summary |
|---|---|
| private final FilteredList<BibEntryTableViewModel> entriesFiltered | |
| entriesFilteredAndSorted | back to summary |
|---|---|
| private final SortedList<BibEntryTableViewModel> entriesFilteredAndSorted | |
| entriesViewModel | back to summary |
|---|---|
| private final ObservableList<BibEntryTableViewModel> entriesViewModel | |
| fieldValueFormatter | back to summary |
|---|---|
| private final ObjectProperty<MainTableFieldValueFormatter> fieldValueFormatter | |
| groupsMatcher | back to summary |
|---|---|
| private Optional<MatcherSet> groupsMatcher | |
| groupsPreferences | back to summary |
|---|---|
| private final GroupsPreferences groupsPreferences | |
| groupUpdateSequence | back to summary |
|---|---|
| private final AtomicLong groupUpdateSequence | |
| groupViewModeSubscription | back to summary |
|---|---|
| private final com. | |
| indexUpdatedListener | back to summary |
|---|---|
| private final MainTableDataModel. | |
| LOGGER | back to summary |
|---|---|
| private final Logger LOGGER | |
| nameDisplayPreferences | back to summary |
|---|---|
| private final NameDisplayPreferences nameDisplayPreferences | |
| searchContext | back to summary |
|---|---|
| private final @Nullable SearchContext searchContext | |
| searchDisplayModeSubscription | back to summary |
|---|---|
| private final com. | |
| searchPreferences | back to summary |
|---|---|
| private final SearchPreferences searchPreferences | |
| searchQueryProperty | back to summary |
|---|---|
| private final org.jabref.logic.util.OptionalObjectProperty<SearchQuery> searchQueryProperty | |
| searchQuerySubscription | back to summary |
|---|---|
| private final com. | |
| searchUpdateSequence | back to summary |
|---|---|
| private final AtomicLong searchUpdateSequence | |
| selectedGroupsSubscription | back to summary |
|---|---|
| private final com. | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| MainTableDataModel | back to summary |
|---|---|
| public MainTableDataModel(BibDatabaseContext context, GuiPreferences preferences, TaskExecutor taskExecutor, @Nullable SearchContext searchContext, ListProperty<GroupTreeNode> selectedGroupsProperty, org.jabref.logic.util.OptionalObjectProperty<SearchQuery> searchQueryProperty, IntegerProperty resultSizeProperty) | |
| applyGroupMatches | back to summary |
|---|---|
| private void applyGroupMatches(MainTableDataModel. | |
| applyIndexedEntrySearchMatch | back to summary |
|---|---|
| private void applyIndexedEntrySearchMatch(MainTableDataModel. | |
| calculateGroupMatches | back to summary |
|---|---|
| private static MainTableDataModel. | |
| calculateIndexedEntrySearchMatch | back to summary |
|---|---|
| private MainTableDataModel. | |
| clearSearchMatches | back to summary |
|---|---|
| private void clearSearchMatches() | |
| createGroupMatcher | back to summary |
|---|---|
| private static Optional | |
| getEntriesFilteredAndSorted | back to summary |
|---|---|
| public SortedList | |
| getViewModelByCitationKey | back to summary |
|---|---|
| public Optional | |
| getViewModelByIndex | back to summary |
|---|---|
| public Optional | |
| refreshSearchMatches | back to summary |
|---|---|
| public void refreshSearchMatches() Refresh the current search We need to call this when the database is switched during a fulltext search since the listener on the searchQueryProperty will not fire if the query doesn't change (this causes searchResults in FullTextResultsTab to be empty) issue 13241 | |
| resetFieldFormatter | back to summary |
|---|---|
| public void resetFieldFormatter() | |
| setEntrySearchVisibility | back to summary |
|---|---|
| private static void setEntrySearchVisibility(BibEntryTableViewModel entry, boolean isMatched, boolean isFloatingMode) | |
| setSearchMatches | back to summary |
|---|---|
| private void setSearchMatches(SearchResults results) | |
| unbind | back to summary |
|---|---|
| public void unbind() | |
| updateEntryGroupMatch | back to summary |
|---|---|
| private void updateEntryGroupMatch(BibEntryTableViewModel entry, Optional<MatcherSet> groupsMatcher, boolean isInvertMode, boolean isFloatingMode) | |
| updateEntryGroupMatch | back to summary |
|---|---|
| private static void updateEntryGroupMatch(BibEntryTableViewModel entry, boolean isMatched, boolean isFloatingMode) | |
| updateEntrySearchMatch | back to summary |
|---|---|
| private static void updateEntrySearchMatch(BibEntryTableViewModel entry, boolean isMatched, boolean isFloatingMode) | |
| updateGroupMatches | back to summary |
|---|---|
| private void updateGroupMatches(ObservableList<GroupTreeNode> groups) | |
| updateSearchDisplayMode | back to summary |
|---|---|
| private void updateSearchDisplayMode(SearchDisplayMode mode) | |
| updateSearchMatches | back to summary |
|---|---|
| private void updateSearchMatches(Optional<SearchQuery> query) | |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | isFloatingMode
Record Component accessed by isFloatingMode(). |
| private final Optional | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| private | GroupMatchResult(Optional<MatcherSet> matcher, Map<BibEntryTableViewModel, Boolean> matches, boolean isFloatingMode)
|
| 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 boolean | |
| public Optional | |
| public Map | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| isFloatingMode | back to summary |
|---|---|
| private final boolean isFloatingMode Record Component accessed by isFloatingMode(). | |
| matcher | back to summary |
|---|---|
| private final Optional<MatcherSet> matcher Record Component accessed by matcher(). | |
| matches | back to summary |
|---|---|
| private final Map<BibEntryTableViewModel, Boolean> matches Record Component accessed by matches(). | |
| GroupMatchResult | back to summary |
|---|---|
| private GroupMatchResult(Optional<MatcherSet> matcher, Map<BibEntryTableViewModel, Boolean> matches, boolean isFloatingMode) | |
| 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 | |
| isFloatingMode | back to summary |
|---|---|
| public boolean isFloatingMode() Record Component getter of isFloatingMode. | |
| matcher | back to summary |
|---|---|
| public Optional Record Component getter of matcher. | |
| matches | back to summary |
|---|---|
| public Map Record Component getter of matches. | |
| 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 |
|---|---|
| private final BibEntry | |
| private final boolean | hasFullTextResults
Record Component accessed by hasFullTextResults(). |
| private final boolean | isMatchedBySearch
Record Component accessed by isMatchedBySearch(). |
| private final long | updateSequence
Record Component accessed by updateSequence(). |
| Access | Constructor and Description |
|---|---|
| private | IndexedEntrySearchMatch(BibEntry entry, long updateSequence, boolean isMatchedBySearch, boolean hasFullTextResults)
|
| Modifier and Type | Method and Description |
|---|---|
| public BibEntry | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public boolean | |
| public final int | |
| public boolean | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| public long |
| entry | back to summary |
|---|---|
| private final BibEntry entry Record Component accessed by entry(). | |
| hasFullTextResults | back to summary |
|---|---|
| private final boolean hasFullTextResults Record Component accessed by hasFullTextResults(). | |
| isMatchedBySearch | back to summary |
|---|---|
| private final boolean isMatchedBySearch Record Component accessed by isMatchedBySearch(). | |
| updateSequence | back to summary |
|---|---|
| private final long updateSequence Record Component accessed by updateSequence(). | |
| IndexedEntrySearchMatch | back to summary |
|---|---|
| private IndexedEntrySearchMatch(BibEntry entry, long updateSequence, boolean isMatchedBySearch, boolean hasFullTextResults) | |
| entry | back to summary |
|---|---|
| public BibEntry entry() Record Component getter of entry. | |
| 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).
| |
| hasFullTextResults | back to summary |
|---|---|
| public boolean hasFullTextResults() Record Component getter of hasFullTextResults. | |
| 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 | |
| isMatchedBySearch | back to summary |
|---|---|
| public boolean isMatchedBySearch() Record Component getter of isMatchedBySearch. | |
| 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. | |
| updateSequence | back to summary |
|---|---|
| public long updateSequence() Record Component getter of updateSequence. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void |
| SearchIndexListener | back to summary |
|---|---|
| pack-priv SearchIndexListener() | |
| listen | back to summary |
|---|---|
public void listen(IndexAddedOrUpdatedEvent indexAddedOrUpdatedEvent)
| |
| listen | back to summary |
|---|---|
public void listen(IndexStartedEvent indexStartedEvent)
| |