PreviewTab is the controller of Entry Preview tab
PreviewTab
| Modifier and Type | Field and Description |
|---|---|
| private final JournalAbbreviationRepository | |
| private final ListProperty | |
| private final ObjectProperty | |
| private final ListProperty | |
| private final ListProperty | |
| private final de. | |
| private final ObjectProperty | |
| private final DialogService | |
| private ListProperty | |
| private ObjectProperty | |
| private final FilteredList | |
| private final LayoutFormatterPreferences | |
| private final CustomLocalDragboard | |
| private static final Logger | |
| private final PreviewPreferences | |
| private final BooleanProperty | |
| private final ObjectProperty | |
| private final BooleanProperty | |
| private final BooleanProperty | |
| private final BooleanProperty | |
| private final StringProperty | |
| private final TaskExecutor | |
| private static final Pattern | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| public | PreviewTabViewModel(DialogService dialogService, PreviewPreferences previewPreferences, LayoutFormatterPreferences layoutFormatterPreferences, TaskExecutor taskExecutor, StateManager stateManager, JournalAbbreviationRepository abbreviationRepository)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public ListProperty | |
| public ObjectProperty | |
| public ListProperty | |
| public de. | |
| public ObjectProperty | |
| public StyleSpans | Returns: highlighted span for codeAreato parse and highlight text)XML-Syntax-Highlighting for RichTextFX-Codearea created by (c) Carlos Martins (github: @cemartins) License: BSD-2-Clause See also https://github.com/FXMisc/RichTextFX/blob/master/richtextfx-demos/README.md#xml-editor |
| public void | dragDetected(ListProperty<PreviewLayout> sourceList, ObjectProperty<MultipleSelectionModel<PreviewLayout>> sourceSelectionModel, List<PreviewLayout> selectedLayouts, Dragboard dragboard)
|
| public boolean | dragDropped(ListProperty<PreviewLayout>
either availableListView or chosenListView targetList, Dragboard dragboard)This is called, when the user drops some PreviewLayouts either in the availableListView or in the empty space of chosenListView |
| public boolean | dragDroppedInChosenCell(PreviewLayout
the Layout, the user drops a layout on targetLayout, Dragboard dragboard)This is called, when the user drops some PreviewLayouts on another cell in chosenListView to sort them |
| public void | |
| private PreviewLayout | |
| public FilteredList | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public BooleanProperty | |
| public ObjectProperty | |
| public void | |
| private void | |
| public void | |
| public void | setValues()
Implements org. This method is called when the dialog is opened, or if it is made visible after being hidden. |
| public BooleanProperty | |
| public BooleanProperty | |
| public BooleanProperty | |
| public StringProperty | |
| public void | storeSettings()
Implements org. Store the changes of preference-preview settings. |
| public boolean | validateSettings()
Overrides default org. This method is called before the |
| abbreviationRepository | back to summary |
|---|---|
| private final JournalAbbreviationRepository abbreviationRepository | |
| availableListProperty | back to summary |
|---|---|
| private final ListProperty<PreviewLayout> availableListProperty | |
| availableSelectionModelProperty | back to summary |
|---|---|
| private final ObjectProperty<MultipleSelectionModel<PreviewLayout>> availableSelectionModelProperty | |
| bstStylesPaths | back to summary |
|---|---|
| private final ListProperty<Path> bstStylesPaths | |
| chosenListProperty | back to summary |
|---|---|
| private final ListProperty<PreviewLayout> chosenListProperty | |
| chosenListValidator | back to summary |
|---|---|
| private final de. | |
| chosenSelectionModelProperty | back to summary |
|---|---|
| private final ObjectProperty<MultipleSelectionModel<PreviewLayout>> chosenSelectionModelProperty | |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| dragSourceList | back to summary |
|---|---|
| private ListProperty<PreviewLayout> dragSourceList | |
| dragSourceSelectionModel | back to summary |
|---|---|
| private ObjectProperty<MultipleSelectionModel<PreviewLayout>> dragSourceSelectionModel | |
| filteredAvailableLayouts | back to summary |
|---|---|
| private final FilteredList<PreviewLayout> filteredAvailableLayouts | |
| layoutFormatterPreferences | back to summary |
|---|---|
| private final LayoutFormatterPreferences layoutFormatterPreferences | |
| localDragboard | back to summary |
|---|---|
| private final CustomLocalDragboard localDragboard | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| previewPreferences | back to summary |
|---|---|
| private final PreviewPreferences previewPreferences | |
| selectedIsEditableProperty | back to summary |
|---|---|
| private final BooleanProperty selectedIsEditableProperty | |
| selectedLayoutProperty | back to summary |
|---|---|
| private final ObjectProperty<PreviewLayout> selectedLayoutProperty | |
| shouldDownloadCovers | back to summary |
|---|---|
| private final BooleanProperty shouldDownloadCovers | |
| showAsExtraTabProperty | back to summary |
|---|---|
| private final BooleanProperty showAsExtraTabProperty | |
| showPreviewInEntryTableTooltip | back to summary |
|---|---|
| private final BooleanProperty showPreviewInEntryTableTooltip | |
| sourceTextProperty | back to summary |
|---|---|
| private final StringProperty sourceTextProperty | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| XML_ATTRIBUTES_PATTERN | back to summary |
|---|---|
| private static final Pattern XML_ATTRIBUTES_PATTERN | |
| XML_TAG_PATTERN | back to summary |
|---|---|
| private static final Pattern XML_TAG_PATTERN | |
| PreviewTabViewModel | back to summary |
|---|---|
| public PreviewTabViewModel(DialogService dialogService, PreviewPreferences previewPreferences, LayoutFormatterPreferences layoutFormatterPreferences, TaskExecutor taskExecutor, StateManager stateManager, JournalAbbreviationRepository abbreviationRepository) | |
| addBstStyle | back to summary |
|---|---|
| public void addBstStyle(Path bstFile) | |
| addToChosen | back to summary |
|---|---|
| public void addToChosen() | |
| availableListProperty | back to summary |
|---|---|
| public ListProperty | |
| availableSelectionModelProperty | back to summary |
|---|---|
| public ObjectProperty | |
| chosenListProperty | back to summary |
|---|---|
| public ListProperty | |
| chosenListValidationStatus | back to summary |
|---|---|
| public de. | |
| chosenSelectionModelProperty | back to summary |
|---|---|
| public ObjectProperty | |
| computeHighlighting | back to summary |
|---|---|
| public StyleSpans XML-Syntax-Highlighting for RichTextFX-Codearea created by (c) Carlos Martins (github: @cemartins) License: BSD-2-Clause See also https://github.com/FXMisc/RichTextFX/blob/master/richtextfx-demos/README.md#xml-editor
| |
| dragDetected | back to summary |
|---|---|
| public void dragDetected(ListProperty<PreviewLayout> sourceList, ObjectProperty<MultipleSelectionModel<PreviewLayout>> sourceSelectionModel, List<PreviewLayout> selectedLayouts, Dragboard dragboard) | |
| dragDropped | back to summary |
|---|---|
| public boolean dragDropped(ListProperty<PreviewLayout> targetList, Dragboard dragboard) This is called, when the user drops some PreviewLayouts either in the availableListView or in the empty space of chosenListView
| |
| dragDroppedInChosenCell | back to summary |
|---|---|
| public boolean dragDroppedInChosenCell(PreviewLayout targetLayout, Dragboard dragboard) This is called, when the user drops some PreviewLayouts on another cell in chosenListView to sort them
| |
| dragOver | back to summary |
|---|---|
| public void dragOver(DragEvent event) | |
| findLayoutByName | back to summary |
|---|---|
| private PreviewLayout findLayoutByName(String name) | |
| getFilteredAvailableLayouts | back to summary |
|---|---|
| public FilteredList | |
| refreshPreview | back to summary |
|---|---|
| public void refreshPreview() | |
| removeCustomStyle | back to summary |
|---|---|
| public void removeCustomStyle(PreviewLayout layout) | |
| removeFromChosen | back to summary |
|---|---|
| public void removeFromChosen() | |
| resetDefaultLayout | back to summary |
|---|---|
| public void resetDefaultLayout() | |
| selectedInChosenDown | back to summary |
|---|---|
| public void selectedInChosenDown() | |
| selectedInChosenUp | back to summary |
|---|---|
| public void selectedInChosenUp() | |
| selectedIsEditableProperty | back to summary |
|---|---|
| public BooleanProperty selectedIsEditableProperty() | |
| selectedLayoutProperty | back to summary |
|---|---|
| public ObjectProperty | |
| setAvailableFilter | back to summary |
|---|---|
| public void setAvailableFilter(String searchTerm) | |
| setContentForPreview | back to summary |
|---|---|
| private void setContentForPreview(String text, boolean editable) | |
| setPreviewLayout | back to summary |
|---|---|
| public void setPreviewLayout(PreviewLayout selectedLayout) | |
| setValues | back to summary |
|---|---|
| public void setValues() Implements org. Doc from org. This method is called when the dialog is opened, or if it is made visible after being hidden. The tab should update all its values. This is the ONLY PLACE to set values for the fields in the tab. It is ILLEGAL to set values only at construction time, because the dialog will be reused and updated.
| |
| shouldDownloadCoversProperty | back to summary |
|---|---|
| public BooleanProperty shouldDownloadCoversProperty() | |
| showAsExtraTabProperty | back to summary |
|---|---|
| public BooleanProperty showAsExtraTabProperty() | |
| showPreviewInEntryTableTooltip | back to summary |
|---|---|
| public BooleanProperty showPreviewInEntryTableTooltip() | |
| sourceTextProperty | back to summary |
|---|---|
| public StringProperty sourceTextProperty() | |
| storeSettings | back to summary |
|---|---|
| public void storeSettings() Implements org. Store the changes of preference-preview settings.
| |
| validateSettings | back to summary |
|---|---|
| public boolean validateSettings() Overrides default org. Doc from org. This method is called before the
| |