#include <menu_item.h>
Definition at line 40 of file menu_item.h.
◆ MenuItem()
esphome::display_menu_base::MenuItem::MenuItem |
( |
MenuItemType |
t | ) |
|
|
inlineexplicit |
◆ add_on_enter_callback()
void esphome::display_menu_base::MenuItem::add_on_enter_callback |
( |
std::function< void()> && |
cb | ) |
|
|
inline |
◆ add_on_leave_callback()
void esphome::display_menu_base::MenuItem::add_on_leave_callback |
( |
std::function< void()> && |
cb | ) |
|
|
inline |
◆ add_on_value_callback()
void esphome::display_menu_base::MenuItem::add_on_value_callback |
( |
std::function< void()> && |
cb | ) |
|
|
inline |
◆ get_immediate_edit()
virtual bool esphome::display_menu_base::MenuItem::get_immediate_edit |
( |
| ) |
const |
|
inlinevirtual |
◆ get_parent()
MenuItemMenu* esphome::display_menu_base::MenuItem::get_parent |
( |
| ) |
|
|
inline |
◆ get_text()
std::string esphome::display_menu_base::MenuItem::get_text |
( |
| ) |
const |
|
inline |
◆ get_type()
MenuItemType esphome::display_menu_base::MenuItem::get_type |
( |
| ) |
const |
|
inline |
◆ get_value_text()
virtual std::string esphome::display_menu_base::MenuItem::get_value_text |
( |
| ) |
const |
|
inlinevirtual |
◆ has_value()
virtual bool esphome::display_menu_base::MenuItem::has_value |
( |
| ) |
const |
|
inlinevirtual |
◆ on_enter()
void esphome::display_menu_base::MenuItem::on_enter |
( |
| ) |
|
◆ on_leave()
void esphome::display_menu_base::MenuItem::on_leave |
( |
| ) |
|
◆ on_value_()
void esphome::display_menu_base::MenuItem::on_value_ |
( |
| ) |
|
|
protected |
◆ select_next()
virtual bool esphome::display_menu_base::MenuItem::select_next |
( |
| ) |
|
|
inlinevirtual |
◆ select_prev()
virtual bool esphome::display_menu_base::MenuItem::select_prev |
( |
| ) |
|
|
inlinevirtual |
◆ set_parent()
void esphome::display_menu_base::MenuItem::set_parent |
( |
MenuItemMenu * |
parent | ) |
|
|
inline |
◆ set_text()
template<typename V >
void esphome::display_menu_base::MenuItem::set_text |
( |
V |
val | ) |
|
|
inline |
◆ item_type_
MenuItemType esphome::display_menu_base::MenuItem::item_type_ |
|
protected |
◆ on_enter_callbacks_
CallbackManager<void()> esphome::display_menu_base::MenuItem::on_enter_callbacks_ {} |
|
protected |
◆ on_leave_callbacks_
CallbackManager<void()> esphome::display_menu_base::MenuItem::on_leave_callbacks_ {} |
|
protected |
◆ on_value_callbacks_
CallbackManager<void()> esphome::display_menu_base::MenuItem::on_value_callbacks_ {} |
|
protected |
◆ parent_
MenuItemMenu* esphome::display_menu_base::MenuItem::parent_ {nullptr} |
|
protected |
◆ text_
The documentation for this class was generated from the following files:
- /opt/build/esphome/esphome/components/display_menu_base/menu_item.h
- /opt/build/esphome/esphome/components/display_menu_base/menu_item.cpp