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

public Class PreferencesDialogView

extends BaseDialog<PreferencesDialogViewModel>
Class Inheritance
Imports
java.util.Locale, .Optional, javafx.fxml.FXML, javafx.scene.control.ButtonType, .ListView, .ScrollPane, .ToggleButton, javafx.scene.input.KeyCode, org.jabref.gui.DialogService, org.jabref.gui.icon.IconTheme, org.jabref.gui.keyboard.KeyBinding, org.jabref.gui.theme.ThemeManager, org.jabref.gui.util.BaseDialog, .ControlHelper, .ViewModelListCellFactory, org.jabref.logic.l10n.Localization, org.jabref.preferences.PreferencesService, com.airhacks.afterburner.views.ViewLoader, com.tobiasdiez.easybind.EasyBind, jakarta.inject.Inject, org.controlsfx.control.textfield.CustomTextField

Preferences dialog. Contains a TabbedPane, and tabs will be defined in separate classes. Tabs MUST implement the PreferencesTab interface, since this dialog will call the storeSettings() method of all tabs when the user presses ok.

Field Summary

Modifier and TypeField and Description
private DialogService
private ToggleButton
private ScrollPane
private PreferencesService
private final Class<? extends PreferencesTab>
private ListView<PreferencesTab>
private ButtonType
private org.controlsfx.control.textfield.CustomTextField
private ThemeManager
private PreferencesDialogViewModel

Constructor Summary

AccessConstructor and Description
public
PreferencesDialogView(Class<? extends PreferencesTab> preferencesTabToSelectClass)

Method Summary

Modifier and TypeMethod and Description
private void
pack-priv void
public PreferencesDialogViewModel
pack-priv void
private void
pack-priv void
private void
pack-priv void

Field Detail

dialogServiceback to summary
private DialogService dialogService
Annotations
@Inject
memoryStickModeback to summary
private ToggleButton memoryStickMode
Annotations
@FXML
preferencesContainerback to summary
private ScrollPane preferencesContainer
Annotations
@FXML
preferencesServiceback to summary
private PreferencesService preferencesService
Annotations
@Inject
preferencesTabToSelectClassback to summary
private final Class<? extends PreferencesTab> preferencesTabToSelectClass
preferenceTabListback to summary
private ListView<PreferencesTab> preferenceTabList
Annotations
@FXML
saveButtonback to summary
private ButtonType saveButton
Annotations
@FXML
themeManagerback to summary
private ThemeManager themeManager
Annotations
@Inject
viewModelback to summary
private PreferencesDialogViewModel viewModel

Constructor Detail

PreferencesDialogViewback to summary
public PreferencesDialogView(Class<? extends PreferencesTab> preferencesTabToSelectClass)

Method Detail

closeDialogback to summary
private void closeDialog()
Annotations
@FXML
exportPreferencesback to summary
pack-priv void exportPreferences()
Annotations
@FXML
getViewModelback to summary
public PreferencesDialogViewModel getViewModel()
importPreferencesback to summary
pack-priv void importPreferences()
Annotations
@FXML
initializeback to summary
private void initialize()
Annotations
@FXML
resetPreferencesback to summary
pack-priv void resetPreferences()
Annotations
@FXML
savePreferencesAndCloseDialogback to summary
private void savePreferencesAndCloseDialog()
Annotations
@FXML
showAllPreferencesback to summary
pack-priv void showAllPreferences()
Annotations
@FXML