Verified Owner
Top Inners Fields Constructors Methods
org.jabref.gui.entryeditor

public Class EntryEditorPreferences

extends Object
Class Inheritance
Imports
java.util.ArrayList, .Arrays, .List, java.util.stream.Collectors, javafx.beans.binding.Bindings, javafx.beans.property.BooleanProperty, .DoubleProperty, .ObjectProperty, .SimpleBooleanProperty, .SimpleDoubleProperty, .SimpleObjectProperty, javafx.beans.value.ObservableValue, javafx.collections.FXCollections, .ObservableList, org.jabref.logic.importer.fetcher.citation.CitationCountFetcherType, .CitationFetcherType

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum
EntryEditorPreferences.JournalPopupEnabled

Specifies the different possible enablement states for online services

Field Summary

Modifier and TypeField and Description
private final BooleanProperty
private final BooleanProperty
private final ObjectProperty<CitationCountFetcherType>
private final ObjectProperty<CitationFetcherType>
private final ObjectProperty<EntryEditorPreferences.JournalPopupEnabled>
private final BooleanProperty
private final DoubleProperty
private final BooleanProperty
private final BooleanProperty
private final BooleanProperty
showUserCommentsFields

Field-level toggle: whether the user-specific comments field is shown inside the Comments tab.

private final ObservableList<EntryEditorTabModel>

Constructor Summary

AccessConstructor and Description
private
public
EntryEditorPreferences(List<EntryEditorTabModel> tabModels, boolean shouldOpenOnNewEntry, boolean showSourceTabByDefault, boolean enableValidation, boolean allowIntegerEditionBibtex, boolean autolinkFilesEnabled, EntryEditorPreferences.JournalPopupEnabled journalPopupEnabled, CitationFetcherType citationFetcherType, CitationCountFetcherType citationCountFetcherType, boolean showUserCommentsFields, double previewWidthDividerPosition)

Method Summary

Modifier and TypeMethod and Description
public BooleanProperty
public BooleanProperty
public boolean
public ObjectProperty<CitationCountFetcherType>
public ObjectProperty<CitationFetcherType>
public ObjectProperty<EntryEditorPreferences.JournalPopupEnabled>
public BooleanProperty
public CitationCountFetcherType
public CitationFetcherType
public static EntryEditorPreferences
private static List<EntryEditorTabModel>
public Double
public ObservableList<EntryEditorTabModel>
public boolean
public DoubleProperty
previewWidthDividerPositionProperty()

Holds the horizontal divider position when the Preview is shown in the entry editor

public void
setAllowIntegerEditionBibtex(boolean allowIntegerEditionBibtex)

public void
setAutoLinkFilesEnabled(boolean enabled)

public void
public void
public void
public void
setEnableValidation(boolean enableValidation)

public void
setPreviewWidthDividerPosition(double previewWidthDividerPosition)

public void
setShouldOpenOnNewEntry(boolean shouldOpenOnNewEntry)

public void
setShowSourceTabByDefault(boolean showSourceTabByDefault)

public void
setShowUserCommentsFields(boolean showUserCommentsFields)

public void
public boolean
public EntryEditorPreferences.JournalPopupEnabled
public boolean
public boolean
public BooleanProperty
public boolean
public boolean
public BooleanProperty
public BooleanProperty
public ObservableValue<Boolean>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

allowIntegerEditionBibtexback to summary
private final BooleanProperty allowIntegerEditionBibtex
autoLinkFilesback to summary
private final BooleanProperty autoLinkFiles
citationCountFetcherTypeback to summary
private final ObjectProperty<CitationCountFetcherType> citationCountFetcherType
citationFetcherTypeback to summary
private final ObjectProperty<CitationFetcherType> citationFetcherType
enablementStatusback to summary
private final ObjectProperty<EntryEditorPreferences.JournalPopupEnabled> enablementStatus
enableValidationback to summary
private final BooleanProperty enableValidation
previewWidthDividerPositionback to summary
private final DoubleProperty previewWidthDividerPosition
shouldOpenOnNewEntryback to summary
private final BooleanProperty shouldOpenOnNewEntry
showSourceTabByDefaultback to summary
private final BooleanProperty showSourceTabByDefault
showUserCommentsFieldsback to summary
private final BooleanProperty showUserCommentsFields

Field-level toggle: whether the user-specific comments field is shown inside the Comments tab. Distinct from the Comments tab's own visibility (EntryEditorTabModel.BuiltIn#COMMENTS).

tabModelsback to summary
private final ObservableList<EntryEditorTabModel> tabModels

Constructor Detail

EntryEditorPreferencesback to summary
private EntryEditorPreferences()
EntryEditorPreferencesback to summary
public EntryEditorPreferences(List<EntryEditorTabModel> tabModels, boolean shouldOpenOnNewEntry, boolean showSourceTabByDefault, boolean enableValidation, boolean allowIntegerEditionBibtex, boolean autolinkFilesEnabled, EntryEditorPreferences.JournalPopupEnabled journalPopupEnabled, CitationFetcherType citationFetcherType, CitationCountFetcherType citationCountFetcherType, boolean showUserCommentsFields, double previewWidthDividerPosition)

Method Detail

allowIntegerEditionBibtexPropertyback to summary
public BooleanProperty allowIntegerEditionBibtexProperty()
autoLinkEnabledPropertyback to summary
public BooleanProperty autoLinkEnabledProperty()
autoLinkFilesEnabledback to summary
public boolean autoLinkFilesEnabled()
citationCountFetcherTypePropertyback to summary
public ObjectProperty<CitationCountFetcherType> citationCountFetcherTypeProperty()
citationFetcherTypePropertyback to summary
public ObjectProperty<CitationFetcherType> citationFetcherTypeProperty()
enableJournalPopupPropertyback to summary
public ObjectProperty<EntryEditorPreferences.JournalPopupEnabled> enableJournalPopupProperty()
enableValidationPropertyback to summary
public BooleanProperty enableValidationProperty()
getCitationCountFetcherTypeback to summary
public CitationCountFetcherType getCitationCountFetcherType()
getCitationFetcherTypeback to summary
public CitationFetcherType getCitationFetcherType()
getDefaultback to summary
public static EntryEditorPreferences getDefault()
getDefaultTabModelsback to summary
private static List<EntryEditorTabModel> getDefaultTabModels()
getPreviewWidthDividerPositionback to summary
public Double getPreviewWidthDividerPosition()
getTabModelsback to summary
public ObservableList<EntryEditorTabModel> getTabModels()
isTabVisibleback to summary
public boolean isTabVisible(EntryEditorTabModel.BuiltIn key)
previewWidthDividerPositionPropertyback to summary
public DoubleProperty previewWidthDividerPositionProperty()

Holds the horizontal divider position when the Preview is shown in the entry editor

setAllowIntegerEditionBibtexback to summary
public void setAllowIntegerEditionBibtex(boolean allowIntegerEditionBibtex)
setAutoLinkFilesEnabledback to summary
public void setAutoLinkFilesEnabled(boolean enabled)
setCitationCountFetcherTypeback to summary
public void setCitationCountFetcherType(CitationCountFetcherType citationCountFetcherType)
setCitationFetcherTypeback to summary
public void setCitationFetcherType(CitationFetcherType citationFetcherType)
setEnableJournalPopupback to summary
public void setEnableJournalPopup(EntryEditorPreferences.JournalPopupEnabled journalPopupEnabled)
setEnableValidationback to summary
public void setEnableValidation(boolean enableValidation)
setPreviewWidthDividerPositionback to summary
public void setPreviewWidthDividerPosition(double previewWidthDividerPosition)
setShouldOpenOnNewEntryback to summary
public void setShouldOpenOnNewEntry(boolean shouldOpenOnNewEntry)
setShowSourceTabByDefaultback to summary
public void setShowSourceTabByDefault(boolean showSourceTabByDefault)
setShowUserCommentsFieldsback to summary
public void setShowUserCommentsFields(boolean showUserCommentsFields)
setTabVisibleback to summary
public void setTabVisible(EntryEditorTabModel.BuiltIn key, boolean show)
shouldAllowIntegerEditionBibtexback to summary
public boolean shouldAllowIntegerEditionBibtex()
shouldEnableJournalPopupback to summary
public EntryEditorPreferences.JournalPopupEnabled shouldEnableJournalPopup()
shouldEnableValidationback to summary
public boolean shouldEnableValidation()
shouldOpenOnNewEntryback to summary
public boolean shouldOpenOnNewEntry()
shouldOpenOnNewEntryPropertyback to summary
public BooleanProperty shouldOpenOnNewEntryProperty()
shouldShowUserCommentsFieldsback to summary
public boolean shouldShowUserCommentsFields()
showSourceTabByDefaultback to summary
public boolean showSourceTabByDefault()
showSourceTabByDefaultPropertyback to summary
public BooleanProperty showSourceTabByDefaultProperty()
showUserCommentsFieldsPropertyback to summary
public BooleanProperty showUserCommentsFieldsProperty()
tabVisiblePropertyback to summary
public ObservableValue<Boolean> tabVisibleProperty(EntryEditorTabModel.BuiltIn tabModel)
org.jabref.gui.entryeditor back to summary

public final Enum EntryEditorPreferences.JournalPopupEnabled

extends Enum<EntryEditorPreferences.JournalPopupEnabled>
Class Inheritance

Specifies the different possible enablement states for online services

Field Summary

Modifier and TypeField and Description
public static final EntryEditorPreferences.JournalPopupEnabled
public static final EntryEditorPreferences.JournalPopupEnabled
public static final EntryEditorPreferences.JournalPopupEnabled

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static EntryEditorPreferences.JournalPopupEnabled
public static EntryEditorPreferences.JournalPopupEnabled
public static EntryEditorPreferences.JournalPopupEnabled[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

DISABLEDback to summary
public static final EntryEditorPreferences.JournalPopupEnabled DISABLED
ENABLEDback to summary
public static final EntryEditorPreferences.JournalPopupEnabled ENABLED
FIRST_STARTback to summary
public static final EntryEditorPreferences.JournalPopupEnabled FIRST_START

Constructor Detail

JournalPopupEnabledback to summary
private JournalPopupEnabled()

Method Detail

fromStringback to summary
public static EntryEditorPreferences.JournalPopupEnabled fromString(String status)
valueOfback to summary
public static EntryEditorPreferences.JournalPopupEnabled valueOf(String name)
valuesback to summary
public static EntryEditorPreferences.JournalPopupEnabled[] values()