Verified Owner
Top Fields Constructors Methods
org.jabref.gui.preview

public Class PreviewPreferences

extends Object
Class Inheritance
Imports
java.nio.file.Path, java.util.List, java.util.stream.Stream, javafx.beans.property.BooleanProperty, .IntegerProperty, .SimpleBooleanProperty, .SimpleIntegerProperty, .SimpleStringProperty, .StringProperty, javafx.collections.FXCollections, .ObservableList, org.jabref.logic.citationstyle.CSLStyleLoader, org.jabref.logic.journals.JournalAbbreviationRepository, org.jabref.logic.layout.LayoutFormatterPreferences, org.jabref.logic.preview.PreviewLayout, .TextBasedPreviewLayout, org.jabref.model.entry.BibEntryTypesManager

Field Summary

Modifier and TypeField and Description
private final ObservableList<Path>
private final StringProperty
private final ObservableList<PreviewLayout>
private final IntegerProperty
private final BooleanProperty
private final BooleanProperty
private final BooleanProperty

Constructor Summary

AccessConstructor and Description
public
PreviewPreferences(List<PreviewLayout> layoutCycle, int layoutCyclePosition, String customPreviewLayout, boolean showPreviewAsExtraTab, boolean showPreviewEntryTableTooltip, List<Path> bstPreviewLayoutPaths, boolean shouldDownloadCovers)

private

Method Summary

Modifier and TypeMethod and Description
public StringProperty
public ObservableList<Path>
public String
public static PreviewPreferences
getDefault()

Provides default values WITHOUT default styles

public static PreviewPreferences
getDefaultWithStyles(LayoutFormatterPreferences layoutFormatterPreferences, JournalAbbreviationRepository abbreviationRepository, BibEntryTypesManager entryTypesManager)

public ObservableList<PreviewLayout>
public int
public PreviewLayout
public IntegerProperty
public void
setBstPreviewLayoutPaths(List<Path> bstPreviewLayoutPaths)

public void
setCustomPreviewLayout(String customPreviewLayout)

public void
setLayoutCyclePosition(int position)

public void
setShouldDownloadCovers(boolean value)

public void
setShowPreviewAsExtraTab(boolean showPreviewAsExtraTab)

public void
setShowPreviewEntryTableTooltip(boolean showPreviewEntryTableTooltip)

public boolean
public BooleanProperty
public boolean
public boolean
public BooleanProperty
public BooleanProperty
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bstPreviewLayoutPathsback to summary
private final ObservableList<Path> bstPreviewLayoutPaths
customPreviewLayoutback to summary
private final StringProperty customPreviewLayout
layoutCycleback to summary
private final ObservableList<PreviewLayout> layoutCycle
layoutCyclePositionback to summary
private final IntegerProperty layoutCyclePosition
shouldDownloadCoversback to summary
private final BooleanProperty shouldDownloadCovers
showPreviewAsExtraTabback to summary
private final BooleanProperty showPreviewAsExtraTab
showPreviewEntryTableTooltipback to summary
private final BooleanProperty showPreviewEntryTableTooltip

Constructor Detail

PreviewPreferencesback to summary
public PreviewPreferences(List<PreviewLayout> layoutCycle, int layoutCyclePosition, String customPreviewLayout, boolean showPreviewAsExtraTab, boolean showPreviewEntryTableTooltip, List<Path> bstPreviewLayoutPaths, boolean shouldDownloadCovers)
PreviewPreferencesback to summary
private PreviewPreferences()

Method Detail

customPreviewLayoutPropertyback to summary
public StringProperty customPreviewLayoutProperty()
getBstPreviewLayoutPathsback to summary
public ObservableList<Path> getBstPreviewLayoutPaths()
getCustomPreviewLayoutback to summary
public String getCustomPreviewLayout()
getDefaultback to summary
public static PreviewPreferences getDefault()

Provides default values WITHOUT default styles

getDefaultWithStylesback to summary
public static PreviewPreferences getDefaultWithStyles(LayoutFormatterPreferences layoutFormatterPreferences, JournalAbbreviationRepository abbreviationRepository, BibEntryTypesManager entryTypesManager)
getLayoutCycleback to summary
public ObservableList<PreviewLayout> getLayoutCycle()
getLayoutCyclePositionback to summary
public int getLayoutCyclePosition()
getSelectedPreviewLayoutback to summary
public PreviewLayout getSelectedPreviewLayout()
layoutCyclePositionPropertyback to summary
public IntegerProperty layoutCyclePositionProperty()
setBstPreviewLayoutPathsback to summary
public void setBstPreviewLayoutPaths(List<Path> bstPreviewLayoutPaths)
setCustomPreviewLayoutback to summary
public void setCustomPreviewLayout(String customPreviewLayout)
setLayoutCyclePositionback to summary
public void setLayoutCyclePosition(int position)
setShouldDownloadCoversback to summary
public void setShouldDownloadCovers(boolean value)
setShowPreviewAsExtraTabback to summary
public void setShowPreviewAsExtraTab(boolean showPreviewAsExtraTab)
setShowPreviewEntryTableTooltipback to summary
public void setShowPreviewEntryTableTooltip(boolean showPreviewEntryTableTooltip)
shouldDownloadCoversback to summary
public boolean shouldDownloadCovers()
shouldDownloadCoversPropertyback to summary
public BooleanProperty shouldDownloadCoversProperty()
shouldShowPreviewAsExtraTabback to summary
public boolean shouldShowPreviewAsExtraTab()
shouldShowPreviewEntryTableTooltipback to summary
public boolean shouldShowPreviewEntryTableTooltip()
showPreviewAsExtraTabPropertyback to summary
public BooleanProperty showPreviewAsExtraTabProperty()
showPreviewEntryTableTooltipback to summary
public BooleanProperty showPreviewEntryTableTooltip()