Class contains info for producing menu item on the JS side.
Definition at line 30 of file TWebMenuItem.h.
Public Member Functions | |
| TWebMenuItem (const std::string &name, const std::string &title) | |
| TWebMenuItem (const TWebMenuItem &rhs) | |
| virtual | ~TWebMenuItem ()=default |
| const std::string & | GetExec () const |
| Returns execution string for the menu item. | |
| const std::string & | GetName () const |
| Returns menu item name. | |
| void | SetClassName (const std::string &clname) |
| Set class name, to which method belongs to. | |
| void | SetExec (const std::string &exec) |
| Set execution string with all required arguments, which will be executed when menu item is selected. | |
Protected Attributes | |
| std::string | fClassName |
| class name | |
| std::string | fExec |
| execute when item is activated | |
| std::string | fName |
| name of the menu item | |
| std::string | fTitle |
| title of menu item | |
|
inline |
Definition at line 38 of file TWebMenuItem.h.
|
inline |
Definition at line 39 of file TWebMenuItem.h.
|
virtualdefault |
|
inline |
Returns execution string for the menu item.
Definition at line 53 of file TWebMenuItem.h.
|
inline |
Returns menu item name.
Definition at line 50 of file TWebMenuItem.h.
|
inline |
Set class name, to which method belongs to.
Definition at line 47 of file TWebMenuItem.h.
|
inline |
Set execution string with all required arguments, which will be executed when menu item is selected.
Definition at line 44 of file TWebMenuItem.h.
|
protected |
class name
Definition at line 35 of file TWebMenuItem.h.
|
protected |
execute when item is activated
Definition at line 34 of file TWebMenuItem.h.
|
protected |
name of the menu item
Definition at line 32 of file TWebMenuItem.h.
|
protected |
title of menu item
Definition at line 33 of file TWebMenuItem.h.