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

public Class JournalAbbreviationsTab

extends AbstractPreferenceTabView<JournalAbbreviationsTabViewModel>
implements PreferencesTab
Class Inheritance
All Implemented Interfaces
org.jabref.gui.preferences.PreferencesTab
Imports
javafx.animation.Interpolator, .KeyFrame, .KeyValue, .Timeline, javafx.beans.property.ObjectProperty, .SimpleObjectProperty, .SimpleStringProperty, .StringProperty, javafx.collections.transformation.FilteredList, javafx.event.ActionEvent, javafx.fxml.FXML, javafx.scene.control.Button, .CheckBox, .ComboBox, .Label, .ProgressIndicator, .TableColumn, .TableView, javafx.scene.control.cell.TextFieldTableCell, javafx.scene.paint.Color, javafx.util.Duration, org.jabref.gui.icon.IconTheme, org.jabref.gui.preferences.AbstractPreferenceTabView, .PreferencesTab, org.jabref.gui.util.ColorUtil, .TaskExecutor, .ValueTableCellFactory, org.jabref.logic.journals.JournalAbbreviationRepository, org.jabref.logic.l10n.Localization, com.airhacks.afterburner.views.ViewLoader, com.tobiasdiez.easybind.EasyBind, jakarta.inject.Inject, org.controlsfx.control.textfield.CustomTextField

This class controls the user interface of the journal abbreviations dialog. The UI elements and their layout are defined in the FXML file.

Field Summary

Modifier and TypeField and Description
private JournalAbbreviationRepository
private TableColumn<AbbreviationViewModel, String>
private Button
private FilteredList<AbbreviationViewModel>
private Timeline
private TableView<AbbreviationViewModel>
private ComboBox<AbbreviationsFileViewModel>
private TableColumn<AbbreviationViewModel, String>
private TableColumn<AbbreviationViewModel, String>
private TableColumn<AbbreviationViewModel, String>
private Label
private ProgressIndicator
private Button
private org.controlsfx.control.textfield.CustomTextField
private TaskExecutor
private CheckBox
Inherited from org.jabref.gui.preferences.AbstractPreferenceTabView:
dialogServicepreferencesServiceviewModel

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
private void
private void
private static StringProperty
private void
public String
getTabName()

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

Should return the localized identifier to use for the tab.

private void
private void
private void
private void
private void
private void
private static void
private void
Inherited from org.jabref.gui.preferences.AbstractPreferenceTabView:
getBuildergetRestartWarningssetValuesstoreSettingsvalidateSettings

Field Detail

abbreviationRepositoryback to summary
private JournalAbbreviationRepository abbreviationRepository
Annotations
@Inject
actionsColumnback to summary
private TableColumn<AbbreviationViewModel, String> actionsColumn
Annotations
@FXML
addAbbreviationButtonback to summary
private Button addAbbreviationButton
Annotations
@FXML
filteredAbbreviationsback to summary
private FilteredList<AbbreviationViewModel> filteredAbbreviations
invalidateSearchback to summary
private Timeline invalidateSearch
journalAbbreviationsTableback to summary
private TableView<AbbreviationViewModel> journalAbbreviationsTable
Annotations
@FXML
journalFilesBoxback to summary
private ComboBox<AbbreviationsFileViewModel> journalFilesBox
Annotations
@FXML
journalTableAbbreviationColumnback to summary
private TableColumn<AbbreviationViewModel, String> journalTableAbbreviationColumn
Annotations
@FXML
journalTableNameColumnback to summary
private TableColumn<AbbreviationViewModel, String> journalTableNameColumn
Annotations
@FXML
journalTableShortestUniqueAbbreviationColumnback to summary
private TableColumn<AbbreviationViewModel, String> journalTableShortestUniqueAbbreviationColumn
Annotations
@FXML
loadingLabelback to summary
private Label loadingLabel
Annotations
@FXML
progressIndicatorback to summary
private ProgressIndicator progressIndicator
Annotations
@FXML
removeAbbreviationListButtonback to summary
private Button removeAbbreviationListButton
Annotations
@FXML
taskExecutorback to summary
private TaskExecutor taskExecutor

Hides org.jabref.gui.preferences.AbstractPreferenceTabView.taskExecutor.

Annotations
@Inject
useFJournalback to summary
private CheckBox useFJournal
Annotations
@FXML

Constructor Detail

JournalAbbreviationsTabback to summary
public JournalAbbreviationsTab()

Method Detail

addAbbreviationback to summary
private void addAbbreviation()
Annotations
@FXML
addAbbreviationActionsback to summary
private void addAbbreviationActions()
addListback to summary
private void addList()
Annotations
@FXML
createFlashingColorStringPropertyback to summary
private static StringProperty createFlashingColorStringProperty(final ObjectProperty<Color> flashingColor)
editAbbreviationback to summary
private void editAbbreviation()
Annotations
@FXML
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.

Returns:String

Identifier for the tab (for instance "General", "Appearance" or "External Files").

Annotations
@Override
initializeback to summary
private void initialize()
Annotations
@FXML
openListback to summary
private void openList()
Annotations
@FXML
removeListback to summary
private void removeList()
Annotations
@FXML
selectNewAbbreviationback to summary
private void selectNewAbbreviation()
setAnimationsback to summary
private void setAnimations()
setBindingsback to summary
private void setBindings()
setColorStringFromColorback to summary
private static void setColorStringFromColor(StringProperty colorStringProperty, ObjectProperty<Color> color)
setUpTableback to summary
private void setUpTable()