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

public Class GeneralTab

extends AbstractPreferenceTabView<GeneralTabViewModel>
Class Inheritance
Imports
java.util.regex.Pattern, javafx.geometry.Pos, javafx.scene.control.ComboBox, .Spinner, .TextFormatter, javafx.util.Callback, javafx.util.converter.IntegerStringConverter, org.jabref.gui.StateManager, org.jabref.gui.preferences.AbstractPreferenceTabView, org.jabref.gui.theme.ThemeColorScheme, .ThemePreset, .ThemePreviewView, org.jabref.gui.util.URLs, .ViewModelListCellFactory, org.jabref.http.manager.HttpServerManager, org.jabref.languageserver.controller.LanguageServerController, org.jabref.logic.UiMessageHandler, org.jabref.logic.help.HelpFile, org.jabref.logic.l10n.Language, .Localization, org.jabref.logic.remote.server.RemoteListenerServerManager, org.jabref.model.database.BibDatabaseMode, com.airhacks.afterburner.injection.Injector

Field Summary

Modifier and TypeField and Description
private final TextFormatter<Integer>
Inherited from org.jabref.gui.preferences.AbstractPreferenceTabView:
dialogServicepreferencestaskExecutorviewModel

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private Spinner<Integer>
private ThemePreviewView
private void
public String
getTabName()

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

Should return the localized identifier to use for the tab.

private void
refreshThemeNameOnColorSchemeChange(ComboBox<ThemePreset> themes)

A ComboBox renders its button cell -- the collapsed row showing the selection -- only when that cell's item changes.

private Callback<ThemePreset, String>
themeName()

Themes that pair a dark and a light hue are named after the hue of the selected color scheme.

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

Field Detail

fontSizeFormatterback to summary
private final TextFormatter<Integer> fontSizeFormatter

Constructor Detail

GeneralTabback to summary
public GeneralTab()

Method Detail

buildFontSizeSpinnerback to summary
private Spinner<Integer> buildFontSizeSpinner()
buildThemePreviewback to summary
private ThemePreviewView buildThemePreview()
buildViewback to summary
private void buildView()
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
refreshThemeNameOnColorSchemeChangeback to summary
private void refreshThemeNameOnColorSchemeChange(ComboBox<ThemePreset> themes)

A ComboBox renders its button cell -- the collapsed row showing the selection -- only when that cell's item changes. Names that follow the color scheme therefore need a fresh cell; the entries in the popup are re-rendered by the view model refreshing the item list.

themeNameback to summary
private Callback<ThemePreset, String> themeName()

Themes that pair a dark and a light hue are named after the hue of the selected color scheme.