Esp32-RBGridUI
Library for creating UIs for the RBController app
Loading...
Searching...
No Matches
Public Member Functions | Friends
gridui::Select Class Reference

#include <select.h>

Inheritance diagram for gridui::Select:
gridui::Widget

Public Member Functions

void setColor (const std::string &color)
 
std::string color () const
 
void setBackground (const std::string &background)
 
std::string background () const
 
void setOptions (const std::vector< std::string > &options)
 
void setOptions (const std::string &options)
 
std::vector< std::string > options () const
 
void setSelectedIndex (int index)
 
int selectedIndex () const
 
void setDisabled (bool disabled)
 
bool disabled () const
 
- Public Member Functions inherited from gridui::Widget
 Widget ()
 
 Widget (const Widget &&o)
 
 Widget (const Widget &o)
 
Widgetoperator= (const Widget &&o)
 
bool hasRegisteredCallbacks () const
 
uint16_t uuid () const
 
void setWidgetX (float val)
 
float widgetX () const
 
void setWidgetY (float val)
 
float widgetY () const
 
void setWidgetW (float val)
 
float widgetW () const
 
void setWidgetH (float val)
 
float widgetH () const
 
void setWidgetTab (uint16_t tab)
 
uint16_t widgetTab () const
 
void setCss (const std::string &propertyName, const std::string &value)
 
std::string css (const std::string &propertyName) const
 

Friends

template<typename Self , typename Finished >
class builder::BuilderMixin
 

Additional Inherited Members

- Protected Member Functions inherited from gridui::Widget
 Widget (WidgetState *state)
 
Widgetoperator= (const Widget &)=delete
 
const rbjson::Object & data () const
 
- Protected Attributes inherited from gridui::Widget
WidgetStatem_state
 

Detailed Description

Definition at line 14 of file select.h.

Member Function Documentation

◆ background()

std::string gridui::Select::background ( ) const
inline

Definition at line 33 of file select.h.

◆ color()

std::string gridui::Select::color ( ) const
inline

Definition at line 25 of file select.h.

◆ disabled()

bool gridui::Select::disabled ( ) const
inline

Definition at line 76 of file select.h.

◆ options()

std::vector< std::string > gridui::Select::options ( ) const
inline

Definition at line 49 of file select.h.

◆ selectedIndex()

int gridui::Select::selectedIndex ( ) const
inline

Definition at line 68 of file select.h.

◆ setBackground()

void gridui::Select::setBackground ( const std::string &  background)
inline

Definition at line 29 of file select.h.

◆ setColor()

void gridui::Select::setColor ( const std::string &  color)
inline

Definition at line 21 of file select.h.

◆ setDisabled()

void gridui::Select::setDisabled ( bool  disabled)
inline

Definition at line 72 of file select.h.

◆ setOptions() [1/2]

void gridui::Select::setOptions ( const std::string &  options)
inline

Definition at line 45 of file select.h.

◆ setOptions() [2/2]

void gridui::Select::setOptions ( const std::vector< std::string > &  options)
inline

Definition at line 37 of file select.h.

◆ setSelectedIndex()

void gridui::Select::setSelectedIndex ( int  index)
inline

Definition at line 64 of file select.h.

Friends And Related Symbol Documentation

◆ builder::BuilderMixin

template<typename Self , typename Finished >
friend class builder::BuilderMixin
friend

Definition at line 16 of file select.h.


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