Top Fields Constructors Methods
org.jabref.gui.preferences

public abstract Class AbstractPreferenceTabView<T extends PreferenceTabViewModel>

extends VBox
implements PreferencesTab
Class Inheritance
All Implemented Interfaces
org.jabref.gui.preferences.PreferencesTab
Known Direct Subclasses
org.jabref.gui.preferences.autocompletion.AutoCompletionTab, org.jabref.gui.preferences.citationkeypattern.CitationKeyPatternTab, org.jabref.gui.preferences.customentrytypes.CustomEntryTypesTab, org.jabref.gui.preferences.customexporter.CustomExporterTab, org.jabref.gui.preferences.customimporter.CustomImporterTab, org.jabref.gui.preferences.entry.EntryTab, org.jabref.gui.preferences.entryeditor.EntryEditorTab, org.jabref.gui.preferences.export.ExportTab, org.jabref.gui.preferences.external.ExternalTab, org.jabref.gui.preferences.externalfiletypes.ExternalFileTypesTab, org.jabref.gui.preferences.general.GeneralTab, org.jabref.gui.preferences.groups.GroupsTab, org.jabref.gui.preferences.journals.JournalAbbreviationsTab, org.jabref.gui.preferences.keybindings.KeyBindingsTab, org.jabref.gui.preferences.linkedfiles.LinkedFilesTab, org.jabref.gui.preferences.nameformatter.NameFormatterTab, org.jabref.gui.preferences.network.NetworkTab, org.jabref.gui.preferences.preview.PreviewTab, org.jabref.gui.preferences.protectedterms.ProtectedTermsTab, org.jabref.gui.preferences.table.TableTab, org.jabref.gui.preferences.websearch.WebSearchTab, org.jabref.gui.preferences.xmp.XmpPrivacyTab
Imports
java.util.List, javafx.scene.Node, javafx.scene.layout.VBox, org.jabref.gui.DialogService, org.jabref.gui.util.TaskExecutor, org.jabref.preferences.PreferencesService, jakarta.inject.Inject

Field Summary

Modifier and TypeField and Description
protected DialogService
protected PreferencesService
protected TaskExecutor
protected T

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Node
public List<String>
getRestartWarnings()

Implements org.jabref.gui.preferences.PreferencesTab.getRestartWarnings.

This method should be called after storing the preferences, This calls the appropriate method in the ViewModel.

public void
setValues()

Implements org.jabref.gui.preferences.PreferencesTab.setValues.

This method is called when the dialog is opened, or if it is made visible after being hidden.

public void
storeSettings()

Implements org.jabref.gui.preferences.PreferencesTab.storeSettings.

This method is called when the user presses OK in the Preferences dialog.

public boolean
validateSettings()

Implements org.jabref.gui.preferences.PreferencesTab.validateSettings.

This method is called before the storeSettings() method, to check if there are illegal settings in the tab, or if is ready to be closed.

Inherited from javafx.scene.layout.VBox:
alignmentPropertyclearConstraintscomputeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthfillWidthPropertygetAlignmentgetClassCssMetaDatagetContentBiasgetCssMetaDatagetMargingetSpacinggetVgrowisFillWidthlayoutChildrenrequestLayoutsetAlignmentsetFillWidthsetMarginsetSpacingsetVgrowspacingProperty

Field Detail

dialogServiceback to summary
protected DialogService dialogService
Annotations
@Inject
preferencesServiceback to summary
protected PreferencesService preferencesService
Annotations
@Inject
taskExecutorback to summary
protected TaskExecutor taskExecutor
Annotations
@Inject
viewModelback to summary
protected T viewModel

Constructor Detail

AbstractPreferenceTabViewback to summary
public AbstractPreferenceTabView()

Method Detail

getBuilderback to summary
public Node getBuilder()

Implements org.jabref.gui.preferences.PreferencesTab.getBuilder.

Annotations
@Override
getRestartWarningsback to summary
public List<String> getRestartWarnings()

Implements org.jabref.gui.preferences.PreferencesTab.getRestartWarnings.

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

This method should be called after storing the preferences, This calls the appropriate method in the ViewModel.

Returns:List<String>

The messages for the changed properties (e. g. "Changed language: English")

Annotations
@Override
setValuesback to summary
public void setValues()

Implements org.jabref.gui.preferences.PreferencesTab.setValues.

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

This method is called when the dialog is opened, or if it is made visible after being hidden. This calls the appropriate method in the ViewModel.

Annotations
@Override
storeSettingsback to summary
public void storeSettings()

Implements org.jabref.gui.preferences.PreferencesTab.storeSettings.

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

This method is called when the user presses OK in the Preferences dialog. This calls the appropriate method in the ViewModel.

Annotations
@Override
validateSettingsback to summary
public boolean validateSettings()

Implements org.jabref.gui.preferences.PreferencesTab.validateSettings.

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

This method is called before the storeSettings() method, to check if there are illegal settings in the tab, or if is ready to be closed. This calls the appropriate method in the ViewModel.

Annotations
@Override