OptionManager Class
The OptionManager class lets you deal with PrestoPlot options.
Public Functions
get{ option }
override{ option value }
reset{}
resetOverrides{}
set{ option value }
Detailed Functions Descriptions
get
get{ option }
Get a PrestoPlot option value. The returned value might be overriden.
Parameters :
option: The option name to fetch.
Return : The option value.
override
override{ option value }
This function overrides a PrestoPlot option. The overriden value won't be saved and is not persitent accross next runs. All overridden options can then be reset with resetOverrides.
Parameters :
-
option: The PrestoPlot option to override. -
value: The override value.
Return : The option value.
reset
reset{ }
This function clears all options and perform a factory reset of all settings.
resetOverrides
resetOverrides{ }
This function clears all overrides and resets all options to their initial values before being overridden.
set
set{ option value }
Set an option value. Unlike the override method, this value will be saved when PrestoPlot exits and so will remain through next runs.
Parameters :
-
option: The option name to set. -
value: The value to set to the option.
Return : The new option value (after validation).