Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
ola::web::SelectItem Class Reference
Inheritance diagram for ola::web::SelectItem:
ola::web::GenericItem

Public Member Functions

 SelectItem (const std::string &description, const std::string &id="")
 
void SetSelectedOffset (unsigned int offset)
 
void AddItem (const std::string &label, const std::string &value)
 
void AddItem (const std::string &label, unsigned int value)
 
- Public Member Functions inherited from ola::web::GenericItem
 GenericItem (const std::string &description, const std::string &id)
 
void SetButtonText (const std::string &text)
 
void PopulateItem (JsonObject *item) const
 

Protected Member Functions

void SetExtraProperties (JsonObject *item) const
 
std::string Type () const
 
void SetValue (JsonObject *item) const
 
- Protected Member Functions inherited from ola::web::GenericItem

Member Function Documentation

◆ SetExtraProperties()

void ola::web::SelectItem::SetExtraProperties ( JsonObject * item) const
inlineprotectedvirtual

Reimplemented from ola::web::GenericItem.

◆ SetValue()

void ola::web::SelectItem::SetValue ( JsonObject * item) const
protectedvirtual

Implements ola::web::GenericItem.

◆ Type()

std::string ola::web::SelectItem::Type ( ) const
inlineprotectedvirtual

Implements ola::web::GenericItem.


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