Top Fields Constructors Methods
org.jabref.gui.maintable

public Class MainTableDataModel

extends Object
Class Inheritance
Imports
java.util.List, .Optional, javafx.beans.binding.Bindings, javafx.beans.property.IntegerProperty, .ObjectProperty, .SimpleIntegerProperty, .SimpleObjectProperty, javafx.collections.ObservableList, javafx.collections.transformation.FilteredList, .SortedList, org.jabref.gui.StateManager, org.jabref.gui.groups.GroupViewMode, .GroupsPreferences, org.jabref.gui.util.BindingsHelper, org.jabref.logic.search.SearchQuery, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, org.jabref.model.groups.GroupTreeNode, org.jabref.model.search.matchers.MatcherSet, .MatcherSets, org.jabref.preferences.PreferencesService, com.tobiasdiez.easybind.EasyBind

Field Summary

Modifier and TypeField and Description
private final BibDatabaseContext
private final FilteredList<BibEntryTableViewModel>
private final SortedList<BibEntryTableViewModel>
private final ObjectProperty<MainTableFieldValueFormatter>
private final GroupsPreferences
private final NameDisplayPreferences

Constructor Summary

AccessConstructor and Description
public
MainTableDataModel(BibDatabaseContext context, PreferencesService preferencesService, StateManager stateManager)

Method Summary

Modifier and TypeMethod and Description
private Optional<MatcherSet>
public SortedList<BibEntryTableViewModel>
private boolean
private boolean
private boolean
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bibDatabaseContextback to summary
private final BibDatabaseContext bibDatabaseContext
entriesFilteredback to summary
private final FilteredList<BibEntryTableViewModel> entriesFiltered
entriesFilteredAndSortedback to summary
private final SortedList<BibEntryTableViewModel> entriesFilteredAndSorted
fieldValueFormatterback to summary
private final ObjectProperty<MainTableFieldValueFormatter> fieldValueFormatter
groupsPreferencesback to summary
private final GroupsPreferences groupsPreferences
nameDisplayPreferencesback to summary
private final NameDisplayPreferences nameDisplayPreferences

Constructor Detail

MainTableDataModelback to summary
public MainTableDataModel(BibDatabaseContext context, PreferencesService preferencesService, StateManager stateManager)

Method Detail

createGroupMatcherback to summary
private Optional<MatcherSet> createGroupMatcher(List<GroupTreeNode> selectedGroups)
getEntriesFilteredAndSortedback to summary
public SortedList<BibEntryTableViewModel> getEntriesFilteredAndSorted()
isMatchedback to summary
private boolean isMatched(ObservableList<GroupTreeNode> groups, Optional<SearchQuery> query, BibEntryTableViewModel entry)
isMatchedByGroupback to summary
private boolean isMatchedByGroup(ObservableList<GroupTreeNode> groups, BibEntryTableViewModel entry)
isMatchedBySearchback to summary
private boolean isMatchedBySearch(Optional<SearchQuery> query, BibEntryTableViewModel entry)
resetFieldFormatterback to summary
public void resetFieldFormatter()