| Modifier and Type | Field and Description |
|---|---|
| private final ClipBoardManager | |
| private final BibDatabaseContext | |
| private final DialogService | |
| private Optional | entry
The entry currently shown |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private PreviewLayout | |
| private final ChangeListener | |
| private static final Logger | |
| private final PreferencesService | |
| private final WebView | |
| private boolean | |
| private Optional | |
| private final TaskExecutor | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| public | PreviewViewer(BibDatabaseContext
Used for resolving strings and pdf directories for links. database, DialogService dialogService, PreferencesService preferencesService, StateManager stateManager, ThemeManager themeManager, TaskExecutor taskExecutor)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| private static String | Returns: JavaScript regex objectJava regex to print as a JavaScript regex regex)Returns the String representation of a JavaScript regex object. |
| public String | |
| public String | |
| private void | |
| public void | invalidated(Observable
The observable)Observable that became invalidImplements javafx. This method needs to be provided by an implementation of
|
| public void | |
| public void | |
| public void | |
| private void | |
| private void |
| clipBoardManager | back to summary |
|---|---|
| private final ClipBoardManager clipBoardManager | |
| database | back to summary |
|---|---|
| private final BibDatabaseContext database | |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| entry | back to summary |
|---|---|
| private Optional<BibEntry> entry The entry currently shown | |
| JS_GET_SELECTION_HTML_SCRIPT | back to summary |
|---|---|
| private static final String JS_GET_SELECTION_HTML_SCRIPT | |
| JS_HIGHLIGHT_FUNCTION | back to summary |
|---|---|
| private static final String JS_HIGHLIGHT_FUNCTION | |
| JS_MARK_REG_EXP_CALLBACK | back to summary |
|---|---|
| private static final String JS_MARK_REG_EXP_CALLBACK | |
| JS_UNMARK_WITH_CALLBACK | back to summary |
|---|---|
| private static final String JS_UNMARK_WITH_CALLBACK | |
| layout | back to summary |
|---|---|
| private PreviewLayout layout | |
| listener | back to summary |
|---|---|
| private final ChangeListener<Optional<SearchQuery>> listener | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| preferencesService | back to summary |
|---|---|
| private final PreferencesService preferencesService | |
| previewView | back to summary |
|---|---|
| private final WebView previewView | |
| registered | back to summary |
|---|---|
| private boolean registered | |
| searchHighlightPattern | back to summary |
|---|---|
| private Optional<Pattern> searchHighlightPattern | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| UNESCAPED_FORWARD_SLASH | back to summary |
|---|---|
| private static final Pattern UNESCAPED_FORWARD_SLASH | |
| PreviewViewer | back to summary |
|---|---|
public PreviewViewer(BibDatabaseContext database, DialogService dialogService, PreferencesService preferencesService, StateManager stateManager, ThemeManager themeManager, TaskExecutor taskExecutor)
| |
| copyPreviewToClipBoard | back to summary |
|---|---|
| public void copyPreviewToClipBoard() | |
| copySelectionToClipBoard | back to summary |
|---|---|
| public void copySelectionToClipBoard() | |
| createJavaScriptRegex | back to summary |
|---|---|
| private static String createJavaScriptRegex(Pattern regex) Returns the String representation of a JavaScript regex object. The method does not take into account differences between the regex implementations in Java and JavaScript. | |
| getSelectionHtmlContent | back to summary |
|---|---|
| public String getSelectionHtmlContent() | |
| getSelectionTextContent | back to summary |
|---|---|
| public String getSelectionTextContent() | |
| highlightSearchPattern | back to summary |
|---|---|
| private void highlightSearchPattern() | |
| invalidated | back to summary |
|---|---|
| public void invalidated(Observable observable) Implements javafx. Doc from javafx. This method needs to be provided by an implementation of
In general, it is considered bad practice to modify the observed value in this method.
| |
| back to summary | |
|---|---|
| public void print() | |
| setEntry | back to summary |
|---|---|
| public void setEntry(BibEntry newEntry) | |
| setLayout | back to summary |
|---|---|
| public void setLayout(PreviewLayout newLayout) | |
| setPreviewText | back to summary |
|---|---|
| private void setPreviewText(String text) | |
| update | back to summary |
|---|---|
| private void update() | |