public class GlobalPreferences
extends java.lang.Object
| Type | Property and Description |
|---|---|
javafx.beans.property.BooleanProperty |
checkForUpdateOnStartUp |
javafx.beans.property.BooleanProperty |
ctrlPressed |
javafx.beans.property.DoubleProperty |
defaultGraphOpacity |
javafx.beans.property.BooleanProperty |
downSamplingEnabled
Returns the down-sampling property
|
javafx.beans.property.IntegerProperty |
downSamplingThreshold
Returns the property for the series down-sampling threshold value
|
javafx.beans.property.BooleanProperty |
horizontalMarkerOn |
javafx.beans.property.BooleanProperty |
loadLastWorkspaceOnStartup
The loadLastWorkspaceOnStartup property
|
javafx.beans.property.BooleanProperty |
loadPluginsFromExternalLocation |
javafx.beans.property.Property<java.nio.file.Path> |
mostRecentSavedWorkspace
The mostRecentSavedWorkspace property
|
javafx.beans.property.Property<java.nio.file.Path> |
mostRecentSaveFolder
The mostRecentSaveFolder property
|
javafx.beans.property.Property<javafx.util.Duration> |
notificationPopupDuration |
javafx.beans.property.Property<java.nio.file.Path> |
pluginsLocation |
javafx.beans.property.BooleanProperty |
shiftPressed |
javafx.beans.property.BooleanProperty |
showAreaOutline |
javafx.beans.property.Property<UserInterfaceThemes> |
userInterfaceTheme
The UI theme property
|
javafx.beans.property.BooleanProperty |
verticalMarkerOn |
| Modifier and Type | Method and Description |
|---|---|
javafx.beans.property.BooleanProperty |
checkForUpdateOnStartUpProperty() |
javafx.beans.property.BooleanProperty |
ctrlPressedProperty() |
javafx.beans.property.DoubleProperty |
defaultGraphOpacityProperty() |
javafx.beans.property.BooleanProperty |
downSamplingEnabledProperty()
Returns the down-sampling property
|
javafx.beans.property.IntegerProperty |
downSamplingThresholdProperty()
Returns the property for the series down-sampling threshold value
|
double |
getDefaultGraphOpacity()
Gets the value of the property defaultGraphOpacity.
|
java.lang.Boolean |
getDownSamplingEnabled()
Returns true if series down-sampling is enabled, false otherwise.
|
int |
getDownSamplingThreshold()
Returns the series down-sampling threshold value
|
boolean |
getHorizontalMarkerOn()
Gets the value of the property horizontalMarkerOn.
|
static GlobalPreferences |
getInstance()
Returns the singleton instance of
GlobalPreferences |
java.util.Optional<java.nio.file.Path> |
getMostRecentSavedWorkspace()
Gets the path from the most recently saved workspace
|
java.nio.file.Path |
getMostRecentSaveFolder()
Gets the path of the folder of the most recently saved item
|
javafx.util.Duration |
getNotificationPopupDuration()
Gets the value of the property notificationPopupDuration.
|
java.nio.file.Path |
getPluginsLocation()
Gets the value of the property pluginsLocation.
|
java.util.Collection<java.lang.String> |
getRecentFiles()
Gets the list of recently opened files
|
UserInterfaceThemes |
getUserInterfaceTheme()
Gets the current UI theme
|
boolean |
getVerticalMarkerOn()
Gets the value of the property verticalMarkerOn.
|
javafx.beans.property.BooleanProperty |
horizontalMarkerOnProperty() |
boolean |
isCheckForUpdateOnStartUp()
Gets the value of the property checkForUpdateOnStartUp.
|
java.lang.Boolean |
isCtrlPressed()
Gets the value of the property ctrlPressed.
|
boolean |
isLoadLastWorkspaceOnStartup()
Returns true if the most recently saved workspace should be re-opned on startup, false otherwise
|
boolean |
isLoadPluginsFromExternalLocation()
Gets the value of the property loadPluginsFromExternalLocation.
|
java.lang.Boolean |
isShiftPressed()
Gets the value of the property shiftPressed.
|
boolean |
isShowAreaOutline()
Gets the value of the property showAreaOutline.
|
javafx.beans.property.BooleanProperty |
loadLastWorkspaceOnStartupProperty()
The loadLastWorkspaceOnStartup property
|
javafx.beans.property.BooleanProperty |
loadPluginsFromExternalLocationProperty() |
javafx.beans.property.Property<java.nio.file.Path> |
mostRecentSavedWorkspaceProperty()
The mostRecentSavedWorkspace property
|
javafx.beans.property.Property<java.nio.file.Path> |
mostRecentSaveFolderProperty()
The mostRecentSaveFolder property
|
javafx.beans.property.Property<javafx.util.Duration> |
notificationPopupDurationProperty() |
javafx.beans.property.Property<java.nio.file.Path> |
pluginsLocationProperty() |
void |
putToRecentFiles(java.lang.String value)
Puts a path into the list of recently opened files
|
void |
removeFromRecentFiles(java.lang.String value)
Remove a path from the list of recently opened files
|
void |
reset()
Reset all prefs to their default values
|
void |
setCheckForUpdateOnStartUp(boolean checkForUpdateOnStartUp)
Sets the value of the property checkForUpdateOnStartUp.
|
void |
setCtrlPressed(java.lang.Boolean ctrlPressed)
Sets the value of the property ctrlPressed.
|
void |
setDefaultGraphOpacity(double defaultGraphOpacity)
Sets the value of the property defaultGraphOpacity.
|
void |
setDownSamplingEnabled(boolean downSamplingEnabled)
Enables or disables series down-sampling
|
void |
setDownSamplingThreshold(int downSamplingThreshold)
Sets the series down-sampling threshold value
|
void |
setHorizontalMarkerOn(boolean horizontalMarkerOn)
Sets the value of the property horizontalMarkerOn.
|
void |
setLoadLastWorkspaceOnStartup(boolean loadLastWorkspaceOnStartup)
Sets to true if the most recently saved workspace should be re-opned on startup, false otherwise
|
void |
setLoadPluginsFromExternalLocation(boolean loadPluginsFromExternalLocation)
Sets the value of the property loadPluginsFromExternalLocation.
|
void |
setMostRecentSavedWorkspace(java.nio.file.Path mostRecentSavedWorkspace)
Sets the path from the most recently saved workspace
|
void |
setMostRecentSaveFolder(java.nio.file.Path mostRecentSaveFolder)
Sets the path of the folder of the most recently saved item
|
void |
setNotificationPopupDuration(javafx.util.Duration notificationPopupDuration)
Sets the value of the property notificationPopupDuration.
|
void |
setPluginsLocation(java.nio.file.Path pluginsLocation)
Sets the value of the property pluginsLocation.
|
void |
setShiftPressed(java.lang.Boolean shiftPressed)
Sets the value of the property shiftPressed.
|
void |
setShowAreaOutline(boolean showAreaOutline)
Sets the value of the property showAreaOutline.
|
void |
setUserInterfaceTheme(UserInterfaceThemes userInterfaceTheme)
Sets the UI theme
|
void |
setVerticalMarkerOn(boolean verticalMarkerOn)
Sets the value of the property verticalMarkerOn.
|
javafx.beans.property.BooleanProperty |
shiftPressedProperty() |
javafx.beans.property.BooleanProperty |
showAreaOutlineProperty() |
javafx.beans.property.Property<UserInterfaceThemes> |
userInterfaceThemeProperty()
The UI theme property
|
javafx.beans.property.BooleanProperty |
verticalMarkerOnProperty() |
public javafx.beans.property.BooleanProperty downSamplingEnabledProperty
public javafx.beans.property.IntegerProperty downSamplingThresholdProperty
public javafx.beans.property.Property<java.nio.file.Path> mostRecentSaveFolderProperty
public javafx.beans.property.Property<java.nio.file.Path> mostRecentSavedWorkspaceProperty
public javafx.beans.property.BooleanProperty loadLastWorkspaceOnStartupProperty
public javafx.beans.property.Property<UserInterfaceThemes> userInterfaceThemeProperty
public javafx.beans.property.BooleanProperty checkForUpdateOnStartUpProperty
public javafx.beans.property.BooleanProperty horizontalMarkerOnProperty
public javafx.beans.property.BooleanProperty verticalMarkerOnProperty
public javafx.beans.property.BooleanProperty showAreaOutlineProperty
isShowAreaOutline(),
setShowAreaOutline(boolean)public javafx.beans.property.DoubleProperty defaultGraphOpacityProperty
public javafx.beans.property.BooleanProperty shiftPressedProperty
isShiftPressed(),
setShiftPressed(Boolean)public javafx.beans.property.BooleanProperty ctrlPressedProperty
isCtrlPressed(),
setCtrlPressed(Boolean)public javafx.beans.property.Property<java.nio.file.Path> pluginsLocationProperty
getPluginsLocation(),
setPluginsLocation(Path)public javafx.beans.property.Property<javafx.util.Duration> notificationPopupDurationProperty
public javafx.beans.property.BooleanProperty loadPluginsFromExternalLocationProperty
public void reset()
throws java.util.prefs.BackingStoreException
java.util.prefs.BackingStoreException - if an error occurred while trying to clear the prefs backing store.public static GlobalPreferences getInstance()
GlobalPreferencesGlobalPreferencespublic java.lang.Boolean getDownSamplingEnabled()
public javafx.beans.property.BooleanProperty downSamplingEnabledProperty()
public void setDownSamplingEnabled(boolean downSamplingEnabled)
downSamplingEnabled - true to enable series down-sampling, false otherwise.public int getDownSamplingThreshold()
public javafx.beans.property.IntegerProperty downSamplingThresholdProperty()
public void setDownSamplingThreshold(int downSamplingThreshold)
downSamplingThreshold - the series down-sampling threshold valuepublic java.nio.file.Path getMostRecentSaveFolder()
public javafx.beans.property.Property<java.nio.file.Path> mostRecentSaveFolderProperty()
public void setMostRecentSaveFolder(java.nio.file.Path mostRecentSaveFolder)
mostRecentSaveFolder - the path of the folder of the most recently saved itempublic java.util.Optional<java.nio.file.Path> getMostRecentSavedWorkspace()
public javafx.beans.property.Property<java.nio.file.Path> mostRecentSavedWorkspaceProperty()
public void setMostRecentSavedWorkspace(java.nio.file.Path mostRecentSavedWorkspace)
mostRecentSavedWorkspace - the path from the most recently saved workspacepublic boolean isLoadLastWorkspaceOnStartup()
public javafx.beans.property.BooleanProperty loadLastWorkspaceOnStartupProperty()
public void setLoadLastWorkspaceOnStartup(boolean loadLastWorkspaceOnStartup)
loadLastWorkspaceOnStartup - true if the most recently saved workspace should be re-opned on startup, false otherwisepublic UserInterfaceThemes getUserInterfaceTheme()
public javafx.beans.property.Property<UserInterfaceThemes> userInterfaceThemeProperty()
public void setUserInterfaceTheme(UserInterfaceThemes userInterfaceTheme)
userInterfaceTheme - the UI theme to applypublic void removeFromRecentFiles(java.lang.String value)
value - a path to remove from the list of recently opened filespublic void putToRecentFiles(java.lang.String value)
value - a path to put into the list of recently opened filespublic java.util.Collection<java.lang.String> getRecentFiles()
public boolean isCheckForUpdateOnStartUp()
public javafx.beans.property.BooleanProperty checkForUpdateOnStartUpProperty()
public void setCheckForUpdateOnStartUp(boolean checkForUpdateOnStartUp)
public boolean getHorizontalMarkerOn()
public javafx.beans.property.BooleanProperty horizontalMarkerOnProperty()
public void setHorizontalMarkerOn(boolean horizontalMarkerOn)
public boolean getVerticalMarkerOn()
public javafx.beans.property.BooleanProperty verticalMarkerOnProperty()
public void setVerticalMarkerOn(boolean verticalMarkerOn)
public boolean isShowAreaOutline()
public javafx.beans.property.BooleanProperty showAreaOutlineProperty()
isShowAreaOutline(),
setShowAreaOutline(boolean)public void setShowAreaOutline(boolean showAreaOutline)
public double getDefaultGraphOpacity()
public javafx.beans.property.DoubleProperty defaultGraphOpacityProperty()
public void setDefaultGraphOpacity(double defaultGraphOpacity)
public java.lang.Boolean isShiftPressed()
public void setShiftPressed(java.lang.Boolean shiftPressed)
public javafx.beans.property.BooleanProperty shiftPressedProperty()
isShiftPressed(),
setShiftPressed(Boolean)public java.lang.Boolean isCtrlPressed()
public void setCtrlPressed(java.lang.Boolean ctrlPressed)
public javafx.beans.property.BooleanProperty ctrlPressedProperty()
isCtrlPressed(),
setCtrlPressed(Boolean)public java.nio.file.Path getPluginsLocation()
public void setPluginsLocation(java.nio.file.Path pluginsLocation)
public javafx.beans.property.Property<java.nio.file.Path> pluginsLocationProperty()
getPluginsLocation(),
setPluginsLocation(Path)public javafx.util.Duration getNotificationPopupDuration()
public javafx.beans.property.Property<javafx.util.Duration> notificationPopupDurationProperty()
public void setNotificationPopupDuration(javafx.util.Duration notificationPopupDuration)
public boolean isLoadPluginsFromExternalLocation()
public javafx.beans.property.BooleanProperty loadPluginsFromExternalLocationProperty()
public void setLoadPluginsFromExternalLocation(boolean loadPluginsFromExternalLocation)
Copyright © 2018 Frederic Thevenet. All rights reserved.