Top Description Fields Constructors Methods
org.jabref.gui.autocompleter

public Class BibEntrySuggestionProvider

extends SuggestionProvider<BibEntry>
Class Inheritance
Imports
java.util.Comparator, java.util.stream.Stream, org.jabref.logic.bibtex.comparator.EntryComparator, org.jabref.model.database.BibDatabase, org.jabref.model.entry.BibEntry, org.jabref.model.entry.field.InternalField, org.jabref.model.strings.StringUtil, com.google.common.base.Equivalence, org.controlsfx.control.textfield.AutoCompletionBinding

Delivers possible completions as a list of BibEntry based on their citation key.

Field Summary

Modifier and TypeField and Description
private final BibDatabase

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Comparator<BibEntry>
getComparator()

Implements abstract org.jabref.gui.autocompleter.SuggestionProvider.getComparator.

Get the comparator to order the suggestions

protected Equivalence<BibEntry>
public Stream<BibEntry>
protected boolean
isMatch(BibEntry entry, org.controlsfx.control.textfield.AutoCompletionBinding.ISuggestionRequest request)

Implements abstract org.jabref.gui.autocompleter.SuggestionProvider.isMatch.

Check the given candidate is a match (ie a valid suggestion)

Inherited from org.jabref.gui.autocompleter.SuggestionProvider:
getPossibleSuggestionsprovideSuggestions

Field Detail

databaseback to summary
private final BibDatabase database

Constructor Detail

BibEntrySuggestionProviderback to summary
public BibEntrySuggestionProvider(BibDatabase database)

Method Detail

getComparatorback to summary
protected Comparator<BibEntry> getComparator()

Implements abstract org.jabref.gui.autocompleter.SuggestionProvider.getComparator.

Doc from org.jabref.gui.autocompleter.SuggestionProvider.getComparator.

Get the comparator to order the suggestions

Annotations
@Override
getEquivalenceback to summary
protected Equivalence<BibEntry> getEquivalence()

Implements abstract org.jabref.gui.autocompleter.SuggestionProvider.getEquivalence.

Annotations
@Override
getSourceback to summary
public Stream<BibEntry> getSource()

Implements abstract org.jabref.gui.autocompleter.SuggestionProvider.getSource.

Annotations
@Override
isMatchback to summary
protected boolean isMatch(BibEntry entry, org.controlsfx.control.textfield.AutoCompletionBinding.ISuggestionRequest request)

Implements abstract org.jabref.gui.autocompleter.SuggestionProvider.isMatch.

Doc from org.jabref.gui.autocompleter.SuggestionProvider.isMatch.

Check the given candidate is a match (ie a valid suggestion)

Annotations
@Override