Setting. API user able to provide custom
implementations by creating a new class and implementing this interface.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public double | Returns: the double value of the divider positionGets the stored divider position of the MasterDetailPane. |
| public Object | Returns: the deserialized Object or the default Object if nothing is foundthe key which is used to search the serialized Object breadcrumb, Object the Object which will be returned if nothing is found defaultObject)Searches in the storage after a serialized Object using the given key, deserializes and returns it. |
| public < the type of object returned by this method T> T | Returns: the deserialized Object or the default Object if nothing is foundthe key which is used to search the serialized Object breadcrumb, Class<T> the type of object used for deserialization type, T the Object which will be returned if nothing is found defaultObject)Searches in the storage after a serialized Object using the given key, deserializes and returns it. |
| public ObservableList | Returns: the deserialized ObservableList or the default ObservableList if nothing is foundthe key which is used to search the serialized ArrayList breadcrumb, ObservableList<E> the default ObservableList which will be returned if nothing is
found defaultObservableList)Searches in the storage after a serialized List using the given key, deserializes and returns it as ObservableList. |
| public < the type inside the list returned by this method T> ObservableList | Returns: the deserialized ObservableList or the default ObservableList if nothing is foundthe key which is used to search the serialized ArrayList breadcrumb, Class<T> the of object used for deserialization the objects inside the list type, ObservableList<T> the default ObservableList which will be returned if nothing is
found defaultObservableList)Searches in the storage after a serialized List using the given key, deserializes and returns it as ObservableList. |
| public String | Returns: the breadcrumb string of the selected categoryGets the last selected category in TreeSearchView. |
| public double | Returns: the double value of the window heightSearches for the window height of the PreferencesFxDialog. |
| public double | Returns: the double value of the horizontal window positionSearches for the horizontal window position. |
| public double | Returns: the double value of the vertical window positionSearches for the vertical window position. |
| public double | Returns: the double value of the window widthSearches for the window width of the PreferencesFxDialog. |
| public void | saveDividerPosition(double
the divider position to be stored dividerPosition)Stores the given divider position of the MasterDetailPane. |
| public void | saveObject(String
the key which is used to save the serialized Object breadcrumb, Object the Object which will be saved object)Serializes a given Object and saves it to the storage using the given key. |
| public void | saveSelectedCategory(String
the category path as a breadcrumb string breadcrumb)Stores the last selected category in TreeSearchView. |
| public void | saveWindowHeight(double
the height of the window to be stored windowHeight)Stores the window height of the PreferencesFxDialog. |
| public void | saveWindowPosX(double
the double value of the window position in horizontal orientation windowPosX)Stores the position of the PreferencesFxDialog in horizontal orientation. |
| public void | saveWindowPosY(double
the double value of the window position in vertical orientation windowPosY)Stores the position of the PreferencesFxDialog in vertical orientation. |
| public void | saveWindowWidth(double
the width of the window to be stored windowWidth)Stores the window width of the PreferencesFxDialog. |
| clearPreferences | back to summary |
|---|---|
| public boolean clearPreferences() Clears the storage.
| |
| loadDividerPosition | back to summary |
|---|---|
| public double loadDividerPosition() Gets the stored divider position of the MasterDetailPane.
| |
| loadObject | back to summary |
|---|---|
| public Object loadObject(String breadcrumb, Object defaultObject) Searches in the storage after a serialized Object using the given key, deserializes and returns it. Returns a default Object if nothing is found. | |
| loadObject | back to summary |
|---|---|
| public <T> T loadObject(String breadcrumb, Class<T> type, T defaultObject) Searches in the storage after a serialized Object using the given key, deserializes and returns it. Returns a default Object if nothing is found.
| |
| loadObservableList | back to summary |
|---|---|
| public ObservableList Searches in the storage after a serialized List using the given key, deserializes and returns it as ObservableList.
| |
| loadObservableList | back to summary |
|---|---|
| public <T> ObservableList Searches in the storage after a serialized List using the given key, deserializes and returns it as ObservableList.
| |
| loadSelectedCategory | back to summary |
|---|---|
| public String loadSelectedCategory() Gets the last selected category in TreeSearchView.
| |
| loadWindowHeight | back to summary |
|---|---|
| public double loadWindowHeight() Searches for the window height of the PreferencesFxDialog.
| |
| loadWindowPosX | back to summary |
|---|---|
| public double loadWindowPosX() Searches for the horizontal window position.
| |
| loadWindowPosY | back to summary |
|---|---|
| public double loadWindowPosY() Searches for the vertical window position.
| |
| loadWindowWidth | back to summary |
|---|---|
| public double loadWindowWidth() Searches for the window width of the PreferencesFxDialog.
| |
| saveDividerPosition | back to summary |
|---|---|
| public void saveDividerPosition(double dividerPosition) Stores the given divider position of the MasterDetailPane.
| |
| saveObject | back to summary |
|---|---|
| public void saveObject(String breadcrumb, Object object) Serializes a given Object and saves it to the storage using the given key. | |
| saveSelectedCategory | back to summary |
|---|---|
| public void saveSelectedCategory(String breadcrumb) Stores the last selected category in TreeSearchView.
| |
| saveWindowHeight | back to summary |
|---|---|
| public void saveWindowHeight(double windowHeight) Stores the window height of the PreferencesFxDialog.
| |
| saveWindowPosX | back to summary |
|---|---|
| public void saveWindowPosX(double windowPosX) Stores the position of the PreferencesFxDialog in horizontal orientation.
| |
| saveWindowPosY | back to summary |
|---|---|
| public void saveWindowPosY(double windowPosY) Stores the position of the PreferencesFxDialog in vertical orientation.
| |
| saveWindowWidth | back to summary |
|---|---|
| public void saveWindowWidth(double windowWidth) Stores the window width of the PreferencesFxDialog.
| |