OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
vrui::coGenericSubMenuItem Class Referenceabstract

#include <coGenericSubMenuItem.h>

Inheritance diagram for vrui::coGenericSubMenuItem:
Inheritance graph
[legend]
Collaboration diagram for vrui::coGenericSubMenuItem:
Collaboration graph
[legend]

Public Member Functions

 coGenericSubMenuItem (coMenuItem *container)
 
virtual ~coGenericSubMenuItem ()
 
void setMenu (coMenu *menu)
 
void setMenuChangeListener (coMenuChangeListener *listener)
 
virtual void closeSubmenu ()=0
 
virtual void openSubmenu ()=0
 
virtual void positionSubmenu ()=0
 
bool isOpen () const
 
coMenugetMenu ()
 get my subMenu More...
 

Protected Attributes

coMenusubMenu
 the subMenu which is opened and closed by thes button More...
 
bool open
 current state of the menu (open or closed) More...
 
coMenuChangeListenerlistener_
 attach this listener to the menu when added to one More...
 
coMenuItemcontainer_
 containing menu item More...
 

Constructor & Destructor Documentation

vrui::coGenericSubMenuItem::coGenericSubMenuItem ( coMenuItem container)
virtual vrui::coGenericSubMenuItem::~coGenericSubMenuItem ( )
virtual

Member Function Documentation

virtual void vrui::coGenericSubMenuItem::closeSubmenu ( )
pure virtual
coMenu* vrui::coGenericSubMenuItem::getMenu ( )
inline

get my subMenu

bool vrui::coGenericSubMenuItem::isOpen ( ) const
virtual void vrui::coGenericSubMenuItem::openSubmenu ( )
pure virtual
virtual void vrui::coGenericSubMenuItem::positionSubmenu ( )
pure virtual
void vrui::coGenericSubMenuItem::setMenu ( coMenu menu)
void vrui::coGenericSubMenuItem::setMenuChangeListener ( coMenuChangeListener listener)

Member Data Documentation

coMenuItem* vrui::coGenericSubMenuItem::container_
protected

containing menu item

coMenuChangeListener* vrui::coGenericSubMenuItem::listener_
protected

attach this listener to the menu when added to one

bool vrui::coGenericSubMenuItem::open
protected

current state of the menu (open or closed)

coMenu* vrui::coGenericSubMenuItem::subMenu
protected

the subMenu which is opened and closed by thes button


The documentation for this class was generated from the following file: