semilimes mcu sdk 0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
FcButtonList Class Reference

Public Member Functions

 FcButtonList (char *json, char *jsonArray)
 
void setObj (char *refname, char *title, bool reqSel, char *value, bool vertList)
 
void addOptions (char *name, char *value)
 
void appendOptions ()
 

Constructor & Destructor Documentation

◆ FcButtonList()

FcButtonList::FcButtonList ( char * json,
char * jsonArray )
inline
Parameters
json- it is the char array that will contain the whole json script
jsonArray- it is a temporary char array that will contain the Options
Returns
void

Member Function Documentation

◆ addOptions()

void FcButtonList::addOptions ( char * name,
char * value )
Parameters
name- is the option identifier
value- text displayed to the user
Returns
void

◆ appendOptions()

void FcButtonList::appendOptions ( )
Returns
void

◆ setObj()

void FcButtonList::setObj ( char * refname,
char * title,
bool reqSel,
char * value,
bool vertList )
Parameters
refname- is the reference name of the button list
title- is the global label displayed at the beginning of the component
reqSel- sets this component interaction as required before submitting the parent form
value- will be populated with a button name when a user submits a form with a button selection
vertList- is a preference to tell a client app to display the buttons vertically
Returns
void

The documentation for this class was generated from the following files: