CitationStyleGenerator generates the citation with JavaScript which may take some time
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private @Nullable PreviewLayout | |
| private final LoadingCache |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public void | setCitationStyle(@NonNull PreviewLayout
The new citation style citationStyle)Set a new citation style and invalidate all cached styles |
| CACHE_SIZE | back to summary |
|---|---|
| private static final int CACHE_SIZE | |
| citationStyle | back to summary |
|---|---|
| private @Nullable PreviewLayout citationStyle | |
| citationStyleCache | back to summary |
|---|---|
| private final LoadingCache<BibEntry, String> citationStyleCache | |
| CitationStyleCache | back to summary |
|---|---|
| public CitationStyleCache(BibDatabaseContext databaseContext) | |
| getCitationFor | back to summary |
|---|---|
| public String getCitationFor(BibEntry entry) Returns the citation for the given entry. | |
| setCitationStyle | back to summary |
|---|---|
| public void setCitationStyle(@NonNull PreviewLayout citationStyle) Set a new citation style and invalidate all cached styles
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | listen(EntriesRemovedEvent entriesRemovedEvent)
removes the citation of the removed entries as they are not needed anymore |
| BibDatabaseEntryListener | back to summary |
|---|---|
| private BibDatabaseEntryListener() | |
| listen | back to summary |
|---|---|
| public void listen(EntryChangedEvent entryChangedEvent) removes the outdated citation of the changed entry
| |
| listen | back to summary |
|---|---|
| public void listen(EntriesRemovedEvent entriesRemovedEvent) removes the citation of the removed entries as they are not needed anymore
| |