| Modifier and Type | Field and Description |
|---|---|
| private BreadCrumbPresenter | |
| private BreadCrumbView | |
| private CategoryController | |
| private static final Logger | |
| private NavigationPresenter | |
| private NavigationView | |
| private PreferencesFxDialog | |
| private PreferencesFxModel | |
| private PreferencesFxPresenter | |
| private PreferencesFxView | |
| private UndoRedoBox |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public PreferencesFx | Returns: PreferencesFx to allow for chaining.the type of the events to receive by the handler eventType, EventHandler<? super PreferencesFxEvent> the handler to register eventHandler)Registers an event handler with the model. |
| public PreferencesFx | |
| public PreferencesFx | Returns: this object for fluent APIif true, pressing the key combination will open the dialog debugState)Defines whether the table to debug the undo / redo history should be shown in a dialog when pressing a key combination or not. |
| public PreferencesFx | Returns: PreferencesFx to allow for chaining.the image to be used as the dialog icon. image)Sets the dialog icon. |
| public PreferencesFx | Returns: PreferencesFx to allow for chaining.the dialog title title)Sets the dialog title. |
| public void | discardChanges()
Call this method to undo all changes made in the settings when showing the preferences by using
|
| public ObservableList | Returns: the stylesheets List of the PreferenceFxDialogReturn the stylesheets of the PreferenceFxDialog. |
| public PreferencesFxView | Returns: a PreferencesFxView, so that it can be used as a Node.Returns a PreferencesFxView, so that it can be used as a Node. |
| public PreferencesFx | Returns: PreferencesFx to allow for chaining.The new value for the translation service property. newValue)Sets the translation service property of the preferences dialog. |
| private void | |
| private void | initializeCategoryViews()
Prepares the CategoryController by creating CategoryView / CategoryPresenter pairs from all Categories and loading them into the CategoryController. |
| public PreferencesFx | Returns: this object for fluent APIif true, will instantly persist changes instantPersistent)Defines whether changes should be instantly persisted or not. |
| public boolean | |
| public static PreferencesFx | |
| public static PreferencesFx | Returns: the preferences windowCustom implementation of the customStorageHandler, Category... StorageHandlerthe items to be displayed in the TreeSearchView categories)Creates the Preferences window. |
| public PreferencesFx | Returns: this object for fluent APIif true, the storing of the window state of the dialog window and the settings
values are enabled. enable)Defines if the PreferencesAPI should save the applications states. |
| public PreferencesFx | Returns: this object for fluent APIif true, the size, position and last selected item in the TreeSearchView are
being saved. When the dialog is showed again, it will be restored to the last
saved state. Defaults to false. persist)Defines whether the state of the dialog window should be persisted or not. |
| public PreferencesFx | Returns: PreferencesFx to allow for chaining.the event type from which to unregister eventType, EventHandler<? super PreferencesFxEvent> the handler to unregister eventHandler)Unregisters a previously registered event handler from the model. |
| public PreferencesFx | Returns: this object for fluent APIif true, the values of all settings of the application are saved. When the
application is started again, the settings values will be restored to the last
saved state. Defaults to true. save)Defines whether the adjusted settings of the application should be saved or not. |
| public void | saveSettings()
Call this method to manually save the changed settings when showing the preferences by using
|
| public void | |
| public void |
| breadCrumbPresenter | back to summary |
|---|---|
| private BreadCrumbPresenter breadCrumbPresenter | |
| breadCrumbView | back to summary |
|---|---|
| private BreadCrumbView breadCrumbView | |
| categoryController | back to summary |
|---|---|
| private CategoryController categoryController | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| navigationPresenter | back to summary |
|---|---|
| private NavigationPresenter navigationPresenter | |
| navigationView | back to summary |
|---|---|
| private NavigationView navigationView | |
| preferencesFxDialog | back to summary |
|---|---|
| private PreferencesFxDialog preferencesFxDialog | |
| preferencesFxModel | back to summary |
|---|---|
| private PreferencesFxModel preferencesFxModel | |
| preferencesFxPresenter | back to summary |
|---|---|
| private PreferencesFxPresenter preferencesFxPresenter | |
| preferencesFxView | back to summary |
|---|---|
| private PreferencesFxView preferencesFxView | |
| undoRedoBox | back to summary |
|---|---|
| private UndoRedoBox undoRedoBox | |
| PreferencesFx | back to summary |
|---|---|
| private PreferencesFx(Class<?> saveClass, Category... categories) | |
| PreferencesFx | back to summary |
|---|---|
| private PreferencesFx(StorageHandler storageHandler, Category... categories) | |
| addEventHandler | back to summary |
|---|---|
| public PreferencesFx addEventHandler(EventType<PreferencesFxEvent> eventType, EventHandler<? super PreferencesFxEvent> eventHandler) Registers an event handler with the model. The handler is called when the model receives an
| |
| buttonsVisibility | back to summary |
|---|---|
| public PreferencesFx buttonsVisibility(boolean isVisible) | |
| debugHistoryMode | back to summary |
|---|---|
| public PreferencesFx debugHistoryMode(boolean debugState) Defines whether the table to debug the undo / redo history should be shown in a dialog when
pressing a key combination or not.
| |
| dialogIcon | back to summary |
|---|---|
| public PreferencesFx dialogIcon(Image image) Sets the dialog icon.
| |
| dialogTitle | back to summary |
|---|---|
| public PreferencesFx dialogTitle(String title) Sets the dialog title.
| |
| discardChanges | back to summary |
|---|---|
| public void discardChanges() Call this method to undo all changes made in the settings when showing the preferences by using
| |
| getStylesheets | back to summary |
|---|---|
| public ObservableList Return the stylesheets of the PreferenceFxDialog.
| |
| getView | back to summary |
|---|---|
| public PreferencesFxView getView() Returns a PreferencesFxView, so that it can be used as a Node.
| |
| i18n | back to summary |
|---|---|
| public PreferencesFx i18n(TranslationService newValue) Sets the translation service property of the preferences dialog.
| |
| init | back to summary |
|---|---|
| private void init() | |
| initializeCategoryViews | back to summary |
|---|---|
| private void initializeCategoryViews() Prepares the CategoryController by creating CategoryView / CategoryPresenter pairs from all Categories and loading them into the CategoryController. | |
| instantPersistent | back to summary |
|---|---|
| public PreferencesFx instantPersistent(boolean instantPersistent) Defines whether changes should be instantly persisted or not.
When
| |
| isContainingChanges | back to summary |
|---|---|
| public boolean isContainingChanges() Check if any changes are pending. Useful when manually saving settings.
| |
| of | back to summary |
|---|---|
| public static PreferencesFx of(Class<?> saveClass, Category... categories) Creates the Preferences window.
| |
| of | back to summary |
|---|---|
| public static PreferencesFx of(StorageHandler customStorageHandler, Category... categories) Creates the Preferences window.
| |
| persistApplicationState | back to summary |
|---|---|
| public PreferencesFx persistApplicationState(boolean enable) Defines if the PreferencesAPI should save the applications states. This includes the persistence of the dialog window, as well as each settings values.
| |
| persistWindowState | back to summary |
|---|---|
| public PreferencesFx persistWindowState(boolean persist) Defines whether the state of the dialog window should be persisted or not.
| |
| removeEventHandler | back to summary |
|---|---|
| public PreferencesFx removeEventHandler(EventType<PreferencesFxEvent> eventType, EventHandler<? super PreferencesFxEvent> eventHandler) Unregisters a previously registered event handler from the model. One handler might have been registered for different event types, so the caller needs to specify the particular event type from which to unregister the handler.
| |
| saveSettings | back to summary |
|---|---|
| public PreferencesFx saveSettings(boolean save) Defines whether the adjusted settings of the application should be saved or not.
| |
| saveSettings | back to summary |
|---|---|
| public void saveSettings() Call this method to manually save the changed settings when showing the preferences by using
| |
| show | back to summary |
|---|---|
| public void show() Shows the PreferencesFX dialog. | |
| show | back to summary |
|---|---|
| public void show(boolean modal) Show the PreferencesFX dialog.
| |