Verified Owner
Top Fields Constructors Methods
org.jabref.gui.preferences.websearch

public Class WebSearchTab

extends AbstractPreferenceTabView<WebSearchTabViewModel>
Class Inheritance
Imports
java.util.List, .Optional, javafx.beans.InvalidationListener, javafx.beans.binding.Bindings, .DoubleBinding, javafx.geometry.Pos, javafx.scene.Node, javafx.scene.control.Button, .CheckBox, .Label, .TableColumn, .TableView, .TextField, javafx.scene.control.cell.TextFieldTableCell, javafx.scene.layout.HBox, .Priority, .Region, .VBox, org.jabref.gui.preferences.AbstractPreferenceTabView, org.jabref.gui.preferences.forms.PreferencesFormBuilder, org.jabref.gui.util.component.HelpButton, org.jabref.logic.ai.preferences.AiPreferences, org.jabref.logic.help.HelpFile, org.jabref.logic.importer.plaincitation.PlainCitationParserChoice, org.jabref.logic.l10n.Localization, org.jabref.logic.util.strings.StringUtil

Field Summary

Modifier and TypeField and Description
private static final double
private final VBox
private static final double
private static final double
private final Label
tableNote

Also the source of the table's row height: it is a themed control in the tree, so its font tracks the configured font size.

Inherited from org.jabref.gui.preferences.AbstractPreferenceTabView:
dialogServicepreferencestaskExecutorviewModel

Constructor Summary

AccessConstructor and Description
public
WebSearchTab(AiPreferences
the dialog-scoped working copy edited by the AI tab; this tab observes its master switch to offer or hide the LLM citation parser
workingAiPreferences
)

Method Summary

Modifier and TypeMethod and Description
private Node
private TextField
buildStoreTtlField()

Whole-day counts only: non-digits are stripped as they are typed, so the field never holds a value the view model cannot parse.

private void
private Node
public List<String>
getSearchKeywords()

Overrides default org.jabref.gui.preferences.PreferencesTab.getSearchKeywords.

Extra, invisible search terms for the tab (synonyms, abbreviations).

public String
getTabName()

Implements org.jabref.gui.preferences.PreferencesTab.getTabName.

Should return the localized identifier to use for the tab.

private void
Inherited from org.jabref.gui.preferences.AbstractPreferenceTabView:
formgetContentgetRestartWarningsgetSearchableElementssetContentsetValuesstoreSettingsvalidateSettings

Field Detail

DEFAULT_ROW_HEIGHTback to summary
private static final double DEFAULT_ROW_HEIGHT
fetchersContainerback to summary
private final VBox fetchersContainer
FONT_HEIGHT_MULTIPLIERback to summary
private static final double FONT_HEIGHT_MULTIPLIER
HEADER_HEIGHT_ESTIMATEback to summary
private static final double HEADER_HEIGHT_ESTIMATE
tableNoteback to summary
private final Label tableNote

Also the source of the table's row height: it is a themed control in the tree, so its font tracks the configured font size.

Constructor Detail

WebSearchTabback to summary
public WebSearchTab(AiPreferences workingAiPreferences)
Parameters
workingAiPreferences:AiPreferences

the dialog-scoped working copy edited by the AI tab; this tab observes its master switch to offer or hide the LLM citation parser

Method Detail

buildSearchEngineTableback to summary
private Node buildSearchEngineTable()
buildStoreTtlFieldback to summary
private TextField buildStoreTtlField()

Whole-day counts only: non-digits are stripped as they are typed, so the field never holds a value the view model cannot parse.

buildViewback to summary
private void buildView()
createFetcherNodeback to summary
private Node createFetcherNode(WebSearchTabViewModel.FetcherViewModel item)
getSearchKeywordsback to summary
public List<String> getSearchKeywords()

Overrides default org.jabref.gui.preferences.PreferencesTab.getSearchKeywords.

Doc from org.jabref.gui.preferences.PreferencesTab.getSearchKeywords.

Extra, invisible search terms for the tab (synonyms, abbreviations). The visible texts are covered by getSearchableElements() already.

Annotations
@Override
getTabNameback to summary
public String getTabName()

Implements org.jabref.gui.preferences.PreferencesTab.getTabName.

Doc from org.jabref.gui.preferences.PreferencesTab.getTabName.

Should return the localized identifier to use for the tab.

Annotations
@Override
showApiKeyDialogback to summary
private void showApiKeyDialog(WebSearchTabViewModel.FetcherViewModel fetcherViewModel)