Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

NDK_XX::NDKMenuItem Class Reference

#include <ndk++.h>

Inheritance diagram for NDK_XX::NDKMenuItem:

NDK_XX::BackCmd NDK_XX::ClosingMarkItem NDK_XX::ExitCmd NDK_XX::NDKPopUpMenu NDK_XX::NonImplementedItem ShowTestDialogCmd AnotherPopUpCmd APopUpCmd List of all members.

Public Methods

 NDKMenuItem (const char *p_name=0, const char *p_descript=0)
ITEM * get_curses_item () const
 Access to the underlying item;.

NDKMenuget_menu () const
 Access to our parent C++ menu object.


Protected Attributes

NDKMenupMenu
 The C++ menu object we belong to.


Friends

class NDKMenu

Constructor & Destructor Documentation

NDK_XX::NDKMenuItem::NDKMenuItem const char *    p_name = 0,
const char *    p_descript = 0
[inline]
 

Definition at line 64 of file ndk++.h.

Referenced by NDK_XX::NDKApplication::get_application(), NDK_XX::NDKApplication::get_param_file_name(), NDK_XX::NDKApplication::NDKApplication(), and ShowTestDialogCmd::ShowTestDialogCmd().

00065         :NCursesMenuItem(   p_name ,p_descript){
00066         
00067     };


Member Function Documentation

ITEM* NDK_XX::NDKMenuItem::get_curses_item   const [inline]
 

Access to the underlying item;.

Definition at line 70 of file ndk++.h.

Referenced by NDK_XX::NDKPopUpMenu::largest_name_len().

00070 {return item;}

NDKMenu* NDK_XX::NDKMenuItem::get_menu   const [inline]
 

Access to our parent C++ menu object.

Definition at line 73 of file ndk++.h.

References pMenu.

Referenced by NDK_XX::NDKSubMenu::setItems().

00073 { return pMenu;}


Friends And Related Function Documentation

friend class NDKMenu [friend]
 

Definition at line 62 of file ndk++.h.


Member Data Documentation

NDKMenu* NDK_XX::NDKMenuItem::pMenu [protected]
 

The C++ menu object we belong to.

Definition at line 77 of file ndk++.h.

Referenced by get_menu(), NDK_XX::NDKMenu::link_items(), and NDK_XX::NDKPopUpMenu::submenux().


The documentation for this class was generated from the following file:
Generated on Tue Aug 27 10:49:47 2002 by doxygen1.2.17