| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final List | |
| private static final List | |
| private final DialogService | |
| private final ListProperty | |
| private final FilePreferences | |
| private boolean | |
| private static final Logger | |
| private final StringProperty | |
| private final ListProperty | |
| private final OcrPreferences | |
| private final ListProperty | |
| private final ObjectProperty | |
| private final ObservableList | |
| private final ObjectProperty | |
| private final TaskExecutor |
| Access | Constructor and Description |
|---|---|
| public | OcrTabViewModel(DialogService dialogService, FilePreferences filePreferences, OcrPreferences ocrPreferences, TaskExecutor taskExecutor)
|
| Modifier and Type | Method and Description |
|---|---|
| public Optional | |
| public void | |
| public void | |
| public ReadOnlyListProperty | |
| private boolean | |
| public StringProperty | |
| public ReadOnlyListProperty | |
| public ReadOnlyListProperty | |
| public ObjectProperty | |
| public ObservableList | |
| public ObjectProperty | |
| public void | setValues()
Implements org. This method is called when the dialog is opened, or if it is made visible after being hidden. |
| public void | storeSettings()
Implements org. This method is called when the user presses OK in the Preferences dialog. |
| CHECKING_TIMEOUT | back to summary |
|---|---|
| private static final int CHECKING_TIMEOUT | |
| DEFAULT_DOCLING_PATHS | back to summary |
|---|---|
| private static final List<String> DEFAULT_DOCLING_PATHS | |
| DEFAULT_OCRMYPDF_PATHS | back to summary |
|---|---|
| private static final List<String> DEFAULT_OCRMYPDF_PATHS | |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| engineOptions | back to summary |
|---|---|
| private final ListProperty<EngineSelection> engineOptions | |
| filePreferences | back to summary |
|---|---|
| private final FilePreferences filePreferences | |
| isInitializing | back to summary |
|---|---|
| private boolean isInitializing | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| ocrEnginePath | back to summary |
|---|---|
| private final StringProperty ocrEnginePath | |
| ocrLanguageOptions | back to summary |
|---|---|
| private final ListProperty<OcrLanguage> ocrLanguageOptions | |
| ocrPreferences | back to summary |
|---|---|
| private final OcrPreferences ocrPreferences | |
| pagesHaveTextOptions | back to summary |
|---|---|
| private final ListProperty<PagesWithTextHandling> pagesHaveTextOptions | |
| selectedEngine | back to summary |
|---|---|
| private final ObjectProperty<EngineSelection> selectedEngine | |
| selectedOcrLanguages | back to summary |
|---|---|
| private final ObservableList<OcrLanguage> selectedOcrLanguages | |
| selectedPagesHaveText | back to summary |
|---|---|
| private final ObjectProperty<PagesWithTextHandling> selectedPagesHaveText | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| OcrTabViewModel | back to summary |
|---|---|
| public OcrTabViewModel(DialogService dialogService, FilePreferences filePreferences, OcrPreferences ocrPreferences, TaskExecutor taskExecutor) | |
| autoDetectDefaultEnginePath | back to summary |
|---|---|
| public Optional | |
| autoDetectEnginePath | back to summary |
|---|---|
| public void autoDetectEnginePath() | |
| browseEnginePath | back to summary |
|---|---|
| public void browseEnginePath() | |
| engineOptions | back to summary |
|---|---|
| public ReadOnlyListProperty | |
| enginePathExists | back to summary |
|---|---|
| private boolean enginePathExists(String path) | |
| ocrEnginePathProperty | back to summary |
|---|---|
| public StringProperty ocrEnginePathProperty() | |
| ocrLanguageOptionsProperty | back to summary |
|---|---|
| public ReadOnlyListProperty | |
| pagesHaveTextOptions | back to summary |
|---|---|
| public ReadOnlyListProperty | |
| selectedEngineProperty | back to summary |
|---|---|
| public ObjectProperty | |
| selectedOcrLanguagesProperty | back to summary |
|---|---|
| public ObservableList | |
| selectedPagesHaveTextProperty | back to summary |
|---|---|
| public ObjectProperty | |
| 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.
| |
| storeSettings | back to summary |
|---|---|
| public void storeSettings() Implements org. Doc from org. This method is called when the user presses OK in the Preferences dialog. Implementing classes must make sure all settings presented get stored in PreferencesService.
| |