Verified Owner
Top Fields Constructors Methods
org.jabref.gui.welcome.quicksettings

public Class ThemeDialog

extends FXDialog
Class Inheritance
Imports
javafx.fxml.FXML, javafx.scene.control.Alert, .ButtonType, .CheckBox, .ComboBox, .TextField, org.jabref.gui.DialogService, .FXDialog, org.jabref.gui.preferences.GuiPreferences, org.jabref.gui.theme.ThemeColorScheme, .ThemePreset, .ThemePreviewView, org.jabref.gui.util.URLs, .ViewModelListCellFactory, org.jabref.gui.util.component.HelpButton, org.jabref.gui.welcome.quicksettings.viewmodel.ThemeDialogViewModel, org.jabref.logic.l10n.Localization, com.airhacks.afterburner.views.ViewLoader

Field Summary

Modifier and TypeField and Description
private CheckBox
private TextField
private final DialogService
private HelpButton
private final GuiPreferences
private ComboBox<ThemePreset>
private ComboBox<ThemeColorScheme>
private ThemePreviewView
private ThemeDialogViewModel

Constructor Summary

AccessConstructor and Description
public
ThemeDialog(GuiPreferences preferences, DialogService dialogService)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
private void
private String
themeName(ThemePreset preset)

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

Field Detail

customThemeback to summary
private CheckBox customTheme
Annotations
@FXML
customThemePathback to summary
private TextField customThemePath
Annotations
@FXML
dialogServiceback to summary
private final DialogService dialogService
helpButtonback to summary
private HelpButton helpButton
Annotations
@FXML
preferencesback to summary
private final GuiPreferences preferences
themeback to summary
private ComboBox<ThemePreset> theme
Annotations
@FXML
themeColorSchemeback to summary
private ComboBox<ThemeColorScheme> themeColorScheme
Annotations
@FXML
themePreviewback to summary
private ThemePreviewView themePreview
Annotations
@FXML
viewModelback to summary
private ThemeDialogViewModel viewModel

Constructor Detail

ThemeDialogback to summary
public ThemeDialog(GuiPreferences preferences, DialogService dialogService)

Method Detail

importThemeback to summary
pack-priv void importTheme()
Annotations
@FXML
initializeback to summary
private void initialize()
Annotations
@FXML
themeNameback to summary
private String themeName(ThemePreset preset)

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