supla-device
Loading...
Searching...
No Matches
CustomCheckboxParameter Class Reference
Inheritance diagram for CustomCheckboxParameter:
Collaboration diagram for CustomCheckboxParameter:

Public Member Functions

 CustomCheckboxParameter (const char *paramTag, const char *paramLabel, uint8_t defaultValue=0)
 
void send (Supla::WebSender *sender) override
 
bool handleResponse (const char *key, const char *value) override
 
void onProcessingEnd () override
 
void setTag (const char *tagValue)
 
void setLabel (const char *labelValue)
 
- Public Member Functions inherited from Supla::HtmlElement
HtmlElementnext ()
 
 HtmlElement (HtmlSection section=HTML_SECTION_FORM)
 

Protected Attributes

char * tag = nullptr
 
char * label = nullptr
 
uint8_t checkboxValue
 
bool checkboxFound = false
 
- Protected Attributes inherited from Supla::HtmlElement
HtmlElementnextPtr = nullptr
 

Additional Inherited Members

- Static Public Member Functions inherited from Supla::HtmlElement
static HtmlElementbegin ()
 
static HtmlElementlast ()
 
static const char * selected (bool isSelected)
 
static const char * checked (bool isChecked)
 
- Public Attributes inherited from Supla::HtmlElement
HtmlSection section
 
- Static Protected Attributes inherited from Supla::HtmlElement
static HtmlElementfirstPtr = nullptr
 

Member Function Documentation

◆ handleResponse()

bool CustomCheckboxParameter::handleResponse ( const char * key,
const char * value )
overridevirtual

Reimplemented from Supla::HtmlElement.

◆ onProcessingEnd()

void CustomCheckboxParameter::onProcessingEnd ( )
overridevirtual

Reimplemented from Supla::HtmlElement.

◆ send()

void CustomCheckboxParameter::send ( Supla::WebSender * sender)
overridevirtual

Implements Supla::HtmlElement.


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