◆ FcMultipleChoice()
FcMultipleChoice::FcMultipleChoice |
( |
char * | json, |
|
|
char * | jsonArray, |
|
|
char * | jsonArray2 ) |
|
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
|
jsonArray2 | - it is a temporary char array that will contain the Values |
- Returns
- void
◆ addOptions()
void FcMultipleChoice::addOptions |
( |
char * | name, |
|
|
char * | value ) |
- Parameters
-
name | - is the option identifier |
value | - text displayed to the user |
- Returns
- void
◆ addValues()
void FcMultipleChoice::addValues |
( |
char * | value | ) |
|
- Parameters
-
value | - is an array containing the names of the choices that are selected on submission: {"name" : "choice1","value": "Choice 1"} |
- Returns
- void
◆ appendOptions()
void FcMultipleChoice::appendOptions |
( |
| ) |
|
◆ appendValues()
void FcMultipleChoice::appendValues |
( |
| ) |
|
◆ setObj()
void FcMultipleChoice::setObj |
( |
char * | refname, |
|
|
char * | title, |
|
|
bool | reqSel ) |
- Parameters
-
refname | - it is the reference name of the object |
title | - is the global label displayed at the beginning of the component |
reqSel | - indicates if the selection is required to submit the form |
- Returns
- void
The documentation for this class was generated from the following files:
- C:/Users/flavio_unige/Desktop/semilimes MCU SDK/semilimes/src/components/fc_multiple_choice.h
- C:/Users/flavio_unige/Desktop/semilimes MCU SDK/semilimes/src/components/fc_multiple_choice.cpp