Open Lighting Architecture  Latest Git
Public Member Functions | Protected Member Functions | List of all members
ola::web::SelectItem Class Reference
Inheritance diagram for ola::web::SelectItem:
Inheritance graph
[legend]
Collaboration diagram for ola::web::SelectItem:
Collaboration graph
[legend]

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
 

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