|
| | INextionStringValued (Nextion &nex, uint8_t page, uint8_t component, const char *name) |
| | Create a new widget adapter. More...
|
| |
| size_t | getText (char *buffer, size_t len) |
| | Gets the value of the string. More...
|
| |
| bool | setText (char *buffer) |
| | Sets the value of the string. More...
|
| |
| bool | setTextAsNumber (uint32_t value) |
| | Sets the text by a numercal value. More...
|
| |
| uint32_t | getTextAsNumber () |
| | Gets the text parsed as a number. More...
|
| |
| | INextionWidget (Nextion &nex, uint8_t page, uint8_t component, const char *name) |
| | Create a new widget adapter. More...
|
| |
| uint8_t | getPageID () |
| | Gets the ID of the page this widget resides on. More...
|
| |
| uint8_t | getComponentID () |
| | Gets the component ID of this widget. More...
|
| |
| bool | setNumberProperty (char *propertyName, uint32_t value) |
| | Sets the value of a numerical property of this widget. More...
|
| |
| uint32_t | getNumberProperty (char *propertyName) |
| | Gets the value of a numerical property of this widget. More...
|
| |
| bool | setStringProperty (char *propertyName, char *value) |
| | Sets the value of a string property of this widget. More...
|
| |
| size_t | getStringProperty (char *propertyName, char *value, size_t len) |
| | Gets the value of a string property of this widget. More...
|
| |
Interface for widgets that hold a string value.
Assumes that the string value is a property named "txt".