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

public Class ExportTabViewModel

extends Object
implements PreferenceTabViewModel
Class Inheritance
All Implemented Interfaces
org.jabref.gui.preferences.PreferenceTabViewModel
Imports
java.util.ArrayList, .Set, javafx.beans.property.BooleanProperty, .ListProperty, .SimpleBooleanProperty, .SimpleListProperty, javafx.collections.FXCollections, org.jabref.gui.commonfxcontrols.SortCriterionViewModel, org.jabref.gui.preferences.PreferenceTabViewModel, org.jabref.logic.exporter.ExportPreferences, org.jabref.model.entry.field.Field, .FieldFactory, .InternalField, org.jabref.model.metadata.SaveOrder

Field Summary

Modifier and TypeField and Description
private final BooleanProperty
private final BooleanProperty
private final BooleanProperty
private final ExportPreferences
private final ListProperty<Field>
private final ListProperty<SortCriterionViewModel>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public BooleanProperty
public BooleanProperty
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 ListProperty<Field>
public ListProperty<SortCriterionViewModel>
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

exportInOriginalPropertyback to summary
private final BooleanProperty exportInOriginalProperty
exportInSpecifiedOrderPropertyback to summary
private final BooleanProperty exportInSpecifiedOrderProperty
exportInTableOrderPropertyback to summary
private final BooleanProperty exportInTableOrderProperty
exportPreferencesback to summary
private final ExportPreferences exportPreferences
sortableFieldsPropertyback to summary
private final ListProperty<Field> sortableFieldsProperty
sortCriteriaPropertyback to summary
private final ListProperty<SortCriterionViewModel> sortCriteriaProperty

Constructor Detail

ExportTabViewModelback to summary
public ExportTabViewModel(ExportPreferences exportPreferences)

Method Detail

saveInOriginalPropertyback to summary
public BooleanProperty saveInOriginalProperty()
saveInSpecifiedOrderPropertyback to summary
public BooleanProperty saveInSpecifiedOrderProperty()
saveInTableOrderPropertyback to summary
public BooleanProperty saveInTableOrderProperty()
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
sortableFieldsPropertyback to summary
public ListProperty<Field> sortableFieldsProperty()
sortCriteriaPropertyback to summary
public ListProperty<SortCriterionViewModel> sortCriteriaProperty()
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