![]() |
API
For Arduino developers
|
NexText,subclass of NexTouch,provides simple methods to control text component. More...
#include <NexText.h>
Public Member Functions | |
| NexText (NexPid pid, NexCid cid, const char *name) | |
| Constructor,inherited NexTouch's constructor function. | |
| uint16_t | getText (char *buffer, uint16_t len) |
| Get the value of text. More... | |
| bool | setText (const char *buffer) |
| Set the value of text. More... | |
Public Member Functions inherited from NexTouch | |
| NexTouch (NexPid pid, NexCid cid, const char *name) | |
| Constructor of Nextouch. More... | |
Public Member Functions inherited from NexObject | |
| NexObject (NexPid pid, NexCid cid, const char *name) | |
| Constructor. More... | |
| NexPid | getObjPid (void) |
| Get page id. More... | |
| NexCid | getObjCid (void) |
| Get component id. More... | |
| const char * | getObjName (void) |
| Get component name. More... | |
| void | printObjInfo (void) |
| Print current object address,page id,component id, component name,pop event function address,push event function address. | |
NexText,subclass of NexTouch,provides simple methods to control text component.
| uint16_t NexText::getText | ( | char * | buffer, |
| uint16_t | len | ||
| ) |
Get the value of text.
| buffer | - text value buffer. |
| len | - the length of text value buffer. |
Definition at line 35 of file NexText.cpp.
| bool NexText::setText | ( | const char * | buffer | ) |
Set the value of text.
| buffer | - text value buffer. |
| true | - success. |
| false | - failed. |
Definition at line 53 of file NexText.cpp.
1.8.7