ESPHome
2024.10.2
|
#include <menu_item.h>
Public Member Functions | |
MenuItemSelect () | |
void | set_select_variable (select::Select *var) |
bool | has_value () const override |
std::string | get_value_text () const override |
bool | select_next () override |
bool | select_prev () override |
Public Member Functions inherited from esphome::display_menu_base::MenuItemEditable | |
MenuItemEditable (MenuItemType t) | |
void | set_immediate_edit (bool val) |
bool | get_immediate_edit () const override |
void | set_value_lambda (value_getter_t &&getter) |
Public Member Functions inherited from esphome::display_menu_base::MenuItem | |
MenuItem (MenuItemType t) | |
void | set_parent (MenuItemMenu *parent) |
MenuItemMenu * | get_parent () |
MenuItemType | get_type () const |
template<typename V > | |
void | set_text (V val) |
void | add_on_enter_callback (std::function< void()> &&cb) |
void | add_on_leave_callback (std::function< void()> &&cb) |
void | add_on_value_callback (std::function< void()> &&cb) |
std::string | get_text () const |
void | on_enter () |
void | on_leave () |
Protected Attributes | |
select::Select * | select_var_ {nullptr} |
Protected Attributes inherited from esphome::display_menu_base::MenuItemEditable | |
bool | immediate_edit_ {false} |
optional< value_getter_t > | value_getter_ {} |
Protected Attributes inherited from esphome::display_menu_base::MenuItem | |
MenuItemType | item_type_ |
MenuItemMenu * | parent_ {nullptr} |
TemplatableValue< std::string, const MenuItem * > | text_ |
CallbackManager< void()> | on_enter_callbacks_ {} |
CallbackManager< void()> | on_leave_callbacks_ {} |
CallbackManager< void()> | on_value_callbacks_ {} |
Additional Inherited Members | |
Protected Member Functions inherited from esphome::display_menu_base::MenuItem | |
void | on_value_ () |
Definition at line 101 of file menu_item.h.
|
inlineexplicit |
Definition at line 103 of file menu_item.h.
|
overridevirtual |
Reimplemented from esphome::display_menu_base::MenuItem.
Definition at line 38 of file menu_item.cpp.
|
inlineoverridevirtual |
Reimplemented from esphome::display_menu_base::MenuItem.
Definition at line 106 of file menu_item.h.
|
overridevirtual |
Reimplemented from esphome::display_menu_base::MenuItem.
Definition at line 52 of file menu_item.cpp.
|
overridevirtual |
Reimplemented from esphome::display_menu_base::MenuItem.
Definition at line 63 of file menu_item.cpp.
|
inline |
Definition at line 104 of file menu_item.h.
|
protected |
Definition at line 113 of file menu_item.h.