Verified Owner
Top Description Methods
org.jabref.logic.preview

public sealed Interface PreviewLayout

permits BstPreviewLayout, CitationStylePreviewLayout, TextBasedPreviewLayout
Known Direct Implementers
org.jabref.logic.preview.TextBasedPreviewLayout, org.jabref.logic.preview.BstPreviewLayout, org.jabref.logic.preview.CitationStylePreviewLayout
Imports
java.nio.file.Path, java.util.List, .Locale, org.jabref.logic.citationstyle.CSLStyleUtils, org.jabref.logic.journals.JournalAbbreviationRepository, org.jabref.logic.layout.LayoutFormatterPreferences, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, .BibEntryTypesManager, org.jspecify.annotations.Nullable

Used for displaying a rendered entry in the UI. Due to historical reasons, "rendering" is called "layout".

Method Summary

Modifier and TypeMethod and Description
public default boolean
public String
public String
public String
public String
public String
public static @Nullable PreviewLayout
of(String layout, String customPreviewLayout, List<Path> bstLayoutPaths, LayoutFormatterPreferences preferences, JournalAbbreviationRepository abbreviationRepository, BibEntryTypesManager entryTypesManager)

Method Detail

containsCaseIndependentback to summary
public default boolean containsCaseIndependent(String searchTerm)
generatePreviewback to summary
public String generatePreview(BibEntry entry, BibDatabaseContext databaseContext)
getDisplayNameback to summary
public String getDisplayName()
getNameback to summary
public String getName()
getShortTitleback to summary
public String getShortTitle()
getTextback to summary
public String getText()
ofback to summary
public static @Nullable PreviewLayout of(String layout, String customPreviewLayout, List<Path> bstLayoutPaths, LayoutFormatterPreferences preferences, JournalAbbreviationRepository abbreviationRepository, BibEntryTypesManager entryTypesManager)