#include <sensesp/ui/ui_controls.h>
|
| SelectConfig (String value, String title, String config_path, std::vector< String > options, SelectType format) |
|
virtual bool | to_json (JsonObject &doc) override |
|
virtual bool | from_json (const JsonObject &config) override |
|
String | get_value () |
|
| FileSystemSaveable (const String &config_path) |
|
virtual bool | load () override |
| Load and populate the object from a persistent storage.
|
|
virtual bool | save () override |
| Save the object to a persistent storage.
|
|
virtual bool | clear () override |
| Delete the data from a persistent storage.
|
|
bool | find_config_file (const String &config_path, String &filename) |
|
| Saveable (const String &config_path) |
|
virtual bool | refresh () |
| Refresh the object. This may or may not access the persistent storage but is not expected to overwrite the object's state.
|
|
const String & | get_config_path () const |
|
Definition at line 86 of file ui_controls.h.
◆ SelectConfig()
sensesp::SelectConfig::SelectConfig |
( |
String | value, |
|
|
String | title, |
|
|
String | config_path, |
|
|
std::vector< String > | options, |
|
|
SelectType | format ) |
|
inline |
◆ from_json()
bool sensesp::SelectConfig::from_json |
( |
const JsonObject & | root | ) |
|
|
overridevirtual |
◆ get_value()
String sensesp::SelectConfig::get_value |
( |
| ) |
|
|
inline |
◆ to_json()
bool sensesp::SelectConfig::to_json |
( |
JsonObject & | root | ) |
|
|
overridevirtual |
◆ ConfigSchema
◆ format_
◆ options_
std::vector<String> sensesp::SelectConfig::options_ |
|
protected |
◆ title_
String sensesp::SelectConfig::title_ = "Value" |
|
protected |
◆ value_
String sensesp::SelectConfig::value_ |
|
protected |
The documentation for this class was generated from the following files: