LightWrap++
AC++wrapperfortheLightWave3DSDK
lwpp::PanelTreeNode Class Reference

#include <lwpp/panel.h>

List of all members.

Public Member Functions

 PanelTreeNode ()
virtual ~PanelTreeNode ()
virtual PanelTreeNodegetChild (int)
 Returns the i'th child of the current item or 0 if there isn't one.
virtual int getChildCount ()
 Returns the number of children of the current item.
virtual const char * getInfo (int *flags)
 Handles the flags that LWPanels uses to track the open/close state of a branch in the tree.
virtual const char * getName ()=0
 Returns the name of the current item.

Detailed Description

Encapsulates the information needed by the treeview to display items This class is the base class for any item displayed in a tree control All items need to implement getName() Items with children need to implement getChildCount() and getChild() as well.


Constructor & Destructor Documentation

lwpp::PanelTreeNode::PanelTreeNode ( )
inline
virtual lwpp::PanelTreeNode::~PanelTreeNode ( )
inlinevirtual

Member Function Documentation

virtual PanelTreeNode* lwpp::PanelTreeNode::getChild ( int  )
inlinevirtual

Returns the i'th child of the current item or 0 if there isn't one.

virtual int lwpp::PanelTreeNode::getChildCount ( )
inlinevirtual

Returns the number of children of the current item.

virtual const char* lwpp::PanelTreeNode::getInfo ( int *  flags)
inlinevirtual

Handles the flags that LWPanels uses to track the open/close state of a branch in the tree.

virtual const char* lwpp::PanelTreeNode::getName ( )
pure virtual

Returns the name of the current item.


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