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

public Class EntryTabViewModel

extends Object
implements PreferenceTabViewModel
Class Inheritance
All Implemented Interfaces
org.jabref.gui.preferences.PreferenceTabViewModel
Imports
java.util.List, java.util.stream.Collectors, javafx.beans.property.BooleanProperty, .ListProperty, .ObjectProperty, .SimpleBooleanProperty, .SimpleListProperty, .SimpleObjectProperty, .SimpleStringProperty, .StringProperty, javafx.collections.FXCollections, javafx.util.StringConverter, org.jabref.gui.preferences.PreferenceTabViewModel, org.jabref.logic.bibtex.FieldPreferences, org.jabref.logic.l10n.Localization, org.jabref.logic.preferences.OwnerPreferences, .TimestampPreferences, org.jabref.model.entry.BibEntryPreferences, org.jabref.model.entry.field.Field, .FieldFactory, .FieldTextMapper

Field Summary

Modifier and TypeField and Description
private final BooleanProperty
private final BooleanProperty
private final BibEntryPreferences
private final FieldPreferences
private final ListProperty<ImportDelimiterParsingStrategy>
private final ObjectProperty<ImportDelimiterParsingStrategy>
private final StringProperty
private final StringProperty
private final StringProperty
private final BooleanProperty
private final BooleanProperty
private final ListProperty<Field>
private final OwnerPreferences
private final ListProperty<Field>
private final BooleanProperty
private final TimestampPreferences

Constructor Summary

AccessConstructor and Description
public
EntryTabViewModel(BibEntryPreferences bibEntryPreferences, FieldPreferences fieldPreferences, OwnerPreferences ownerPreferences, TimestampPreferences timestampPreferences)

Method Summary

Modifier and TypeMethod and Description
public BooleanProperty
public BooleanProperty
public StringConverter<Field>
public String
public List<Field>
public ListProperty<ImportDelimiterParsingStrategy>
public ObjectProperty<ImportDelimiterParsingStrategy>
public StringProperty
public StringProperty
public StringProperty
public BooleanProperty
public BooleanProperty
public ListProperty<Field>
public ListProperty<Field>
public BooleanProperty
public void
setValues()

Implements org.jabref.gui.preferences.PreferenceTabViewModel.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.PreferenceTabViewModel.storeSettings.

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

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

addCreationDatePropertyback to summary
private final BooleanProperty addCreationDateProperty
addModificationDatePropertyback to summary
private final BooleanProperty addModificationDateProperty
bibEntryPreferencesback to summary
private final BibEntryPreferences bibEntryPreferences
fieldPreferencesback to summary
private final FieldPreferences fieldPreferences
importDelimiterParsingStrategiesback to summary
private final ListProperty<ImportDelimiterParsingStrategy> importDelimiterParsingStrategies
importDelimiterParsingStrategyPropertyback to summary
private final ObjectProperty<ImportDelimiterParsingStrategy> importDelimiterParsingStrategyProperty
importKeywordDelimitersPropertyback to summary
private final StringProperty importKeywordDelimitersProperty
keywordSeparatorPropertyback to summary
private final StringProperty keywordSeparatorProperty
markOwnerNamePropertyback to summary
private final StringProperty markOwnerNameProperty
markOwnerOverwritePropertyback to summary
private final BooleanProperty markOwnerOverwriteProperty
markOwnerPropertyback to summary
private final BooleanProperty markOwnerProperty
nonWrappableTagsFieldPropertyback to summary
private final ListProperty<Field> nonWrappableTagsFieldProperty
ownerPreferencesback to summary
private final OwnerPreferences ownerPreferences
resolvableTagsFieldPropertyback to summary
private final ListProperty<Field> resolvableTagsFieldProperty
resolveStringsPropertyback to summary
private final BooleanProperty resolveStringsProperty
timestampPreferencesback to summary
private final TimestampPreferences timestampPreferences

Constructor Detail

EntryTabViewModelback to summary
public EntryTabViewModel(BibEntryPreferences bibEntryPreferences, FieldPreferences fieldPreferences, OwnerPreferences ownerPreferences, TimestampPreferences timestampPreferences)

Method Detail

addCreationDatePropertyback to summary
public BooleanProperty addCreationDateProperty()
addModificationDatePropertyback to summary
public BooleanProperty addModificationDateProperty()
getFieldStringConverterback to summary
public StringConverter<Field> getFieldStringConverter()
getImportDelimiterParsingStrategyDisplayNameback to summary
public String getImportDelimiterParsingStrategyDisplayName(ImportDelimiterParsingStrategy parsingStrategy)
getSuggestionsback to summary
public List<Field> getSuggestions(String request)
importDelimiterParsingStrategiesback to summary
public ListProperty<ImportDelimiterParsingStrategy> importDelimiterParsingStrategies()
importDelimiterParsingStrategyPropertyback to summary
public ObjectProperty<ImportDelimiterParsingStrategy> importDelimiterParsingStrategyProperty()
importKeywordDelimitersPropertyback to summary
public StringProperty importKeywordDelimitersProperty()
keywordSeparatorPropertyback to summary
public StringProperty keywordSeparatorProperty()
markOwnerNamePropertyback to summary
public StringProperty markOwnerNameProperty()
markOwnerOverwritePropertyback to summary
public BooleanProperty markOwnerOverwriteProperty()
markOwnerPropertyback to summary
public BooleanProperty markOwnerProperty()
nonWrappableTagsFieldPropertyback to summary
public ListProperty<Field> nonWrappableTagsFieldProperty()
resolvableTagsFieldPropertyback to summary
public ListProperty<Field> resolvableTagsFieldProperty()
resolveStringsPropertyback to summary
public BooleanProperty resolveStringsProperty()
setValuesback to summary
public void setValues()

Implements org.jabref.gui.preferences.PreferenceTabViewModel.setValues.

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

This method is called when the dialog is opened, or if it is made visible after being hidden. The tab should update all its values.

This is the ONLY PLACE to set values for the fields in the tab. It is ILLEGAL to set values only at construction time, because the dialog will be reused and updated.

Annotations
@Override
storeSettingsback to summary
public void storeSettings()

Implements org.jabref.gui.preferences.PreferenceTabViewModel.storeSettings.

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

This method is called when the user presses OK in the Preferences dialog. Implementing classes must make sure all settings presented get stored in PreferencesService.

Annotations
@Override