#include "MenuClickableEntryCfg.h"
◆ MenuClickableEntryCfg() [1/3]
ot::MenuClickableEntryCfg::MenuClickableEntryCfg |
( |
| ) |
|
◆ MenuClickableEntryCfg() [2/3]
ot::MenuClickableEntryCfg::MenuClickableEntryCfg |
( |
const std::string & | _name, |
|
|
const std::string & | _text, |
|
|
const std::string & | _iconPath = std::string() ) |
◆ MenuClickableEntryCfg() [3/3]
◆ ~MenuClickableEntryCfg()
ot::MenuClickableEntryCfg::~MenuClickableEntryCfg |
( |
| ) |
|
|
virtual |
◆ addToJsonObject()
Add the object contents to the provided JSON object.
- Parameters
-
_object | Json object reference to write the data to. |
_allocator | Allocator. |
Reimplemented from ot::MenuEntryCfg.
Reimplemented in ot::MenuButtonCfg, and ot::MenuCfg.
◆ getIconPath()
const std::string & ot::MenuClickableEntryCfg::getIconPath |
( |
void | | ) |
const |
|
inline |
◆ getName()
const std::string & ot::MenuClickableEntryCfg::getName |
( |
void | | ) |
const |
|
inline |
◆ getText()
const std::string & ot::MenuClickableEntryCfg::getText |
( |
void | | ) |
const |
|
inline |
◆ getToolTip()
const std::string & ot::MenuClickableEntryCfg::getToolTip |
( |
void | | ) |
const |
|
inline |
◆ operator=()
◆ setFromJsonObject()
Set the object contents from the provided JSON object.
- Parameters
-
_object | The JSON object containing the information. |
- Exceptions
-
May | throw an exception if the provided object is not valid (members missing or invalid types). |
Reimplemented from ot::MenuEntryCfg.
Reimplemented in ot::MenuButtonCfg, and ot::MenuCfg.
◆ setIconPath()
void ot::MenuClickableEntryCfg::setIconPath |
( |
const std::string & | _iconPath | ) |
|
|
inline |
◆ setName()
void ot::MenuClickableEntryCfg::setName |
( |
const std::string & | _name | ) |
|
|
inline |
◆ setText()
void ot::MenuClickableEntryCfg::setText |
( |
const std::string & | _text | ) |
|
|
inline |
◆ setToolTip()
void ot::MenuClickableEntryCfg::setToolTip |
( |
const std::string & | _toolTip | ) |
|
|
inline |
The documentation for this class was generated from the following files: