|
ADTF Display Toolbox
|
Interface for creating context menu entries. More...
#include <menu_intf.h>
Public Member Functions | |
| ADTF_IID (IMenuItem, "menuitem.chewbacca.mixinlib.disptb.adtf.iid") | |
| Define an interface id for this class. | |
| virtual tVoid | SetText (const tChar *strText)=0 |
| Set the text of this menu item. | |
| virtual tVoid | SetToolTip (const tChar *strToolTip)=0 |
| Set the tool tip of this menu item. | |
| virtual tVoid | SetStatusTip (const tChar *strStatusTip)=0 |
| Set the status bar tip of this menu item. | |
| virtual const tChar * | GetText () const=0 |
| Get the text of this menu item. | |
| virtual const tChar * | GetToolTip () const=0 |
| Get the tool tip of this menu item. | |
| virtual const tChar * | GetStatusTip () const=0 |
| Get the status bar tip of this menu item. | |
| virtual tVoid | SetSeparator (tBool bSeparator)=0 |
| Mark this item as a separator. | |
| virtual tVoid | SetCheckable (tBool bCheckable)=0 |
| Mark this item as checkable. | |
| virtual tVoid | SetChecked (tBool bChecked)=0 |
| Set chack state of this item. | |
| virtual tVoid | SetEnabled (tBool bEnabled)=0 |
| Set enabled state of this item. | |
| virtual tVoid | SetVisible (tBool bVisible)=0 |
| Set visibility of this item. | |
| virtual tBool | IsCheckable () const=0 |
| Query whether the item is checkable. | |
| virtual tBool | IsChecked () const=0 |
| Query whether the item is checked. | |
| virtual tBool | IsEnabled () const=0 |
| Query whether the item is enabled. | |
| virtual tBool | IsVisible () const=0 |
| Query whether the item is visible. | |
| virtual tBool | IsSeparator () const=0 |
| Query whether the item is a separator. | |
| virtual tVoid | SetEventHandler (IMenuEventSink *pEvent)=0 |
| Set an event handler. | |
| virtual adtf::disptb::mixinlib::chewbacca::IMenuEventSink * | GetEventHandler ()=0 |
| Get the current event handler. | |
Interface for creating context menu entries.
Bring newest version of the interface into scope.
Definition at line 42 of file menu_intf.h.
|
pure virtual |
Get the current event handler.
|
pure virtual |
Get the status bar tip of this menu item.
|
pure virtual |
Get the text of this menu item.
|
pure virtual |
Get the tool tip of this menu item.
|
pure virtual |
Query whether the item is checkable.
|
pure virtual |
Query whether the item is checked.
|
pure virtual |
Query whether the item is enabled.
|
pure virtual |
Query whether the item is a separator.
|
pure virtual |
Query whether the item is visible.
|
pure virtual |
Mark this item as checkable.
| bCheckable | [in] Indicator whether the item shall be checkable. |
|
pure virtual |
Set chack state of this item.
| bChecked | [in] Indicator whether the item shall be checked. |
|
pure virtual |
Set enabled state of this item.
| bEnabled | [in] Indicator whether the item shall be enabled. |
|
pure virtual |
Set an event handler.
This handler will be called when the item is selected.
| pEvent | [in] The event handler to be set. |
|
pure virtual |
Mark this item as a separator.
| bSeparator | [in] Indicator whether the item shall be a seperator. |
|
pure virtual |
Set the status bar tip of this menu item.
| strStatusTip | [in] The status bar tip to set. |
|
pure virtual |
Set the text of this menu item.
| strText | [in] The text to set. |
|
pure virtual |
Set the tool tip of this menu item.
| strToolTip | [in] The tool tip to set. |
|
pure virtual |
Set visibility of this item.
| bVisible | [in] Indicator whether the item shall be visible. |