GRAPHICTREE::ITEM Class Reference

Individual tree item. More...

#include <mi32/grtree.h>

List of all members.

Public Member Functions

ITEMGetFirstChild () const
ITEMGetNextSibling () const
ITEMGetParent () const
void * GetPrivPtr () const
UINT32 GetRefIndex () const
void * GetRefPointer () const
ITEMGetSelectedChild () const
GRAPHICTREEGetTree () const
bool IsRoot () const
void SetChildrenVisible (bool visible=true, bool redraw=true)
void SetChildSpacing (UINT8 p_Spacing)
void SetMayHaveChildren (bool p_MayHaveChildren=true)
void SetPrivPtr (void *PrivPtr)


Detailed Description

Individual tree item.

Definition at line 181 of file grtree.h.


Member Function Documentation

ITEM* GRAPHICTREE::ITEM::GetFirstChild  )  const [inline]
 

Get first child for this item.

Returns:
ITEM pointer or NULL if no children.

Definition at line 264 of file grtree.h.

ITEM* GRAPHICTREE::ITEM::GetNextSibling  )  const [inline]
 

Get next sibling for this item.

Returns:
ITEM pointer or NULL if end of list.

Definition at line 269 of file grtree.h.

ITEM* GRAPHICTREE::ITEM::GetParent  )  const [inline]
 

Get parent for this item.

Returns:
ITEM pointer or NULL if this is root item.

Definition at line 274 of file grtree.h.

void* GRAPHICTREE::ITEM::GetPrivPtr  )  const [inline]
 

Get 'private pointer' for this item.

Definition at line 278 of file grtree.h.

UINT32 GRAPHICTREE::ITEM::GetRefIndex  )  const [inline]
 

Get 'reference index' for this item.

Definition at line 282 of file grtree.h.

void* GRAPHICTREE::ITEM::GetRefPointer  )  const [inline]
 

Get 'reference pointer' used when item was created.

Definition at line 286 of file grtree.h.

ITEM* GRAPHICTREE::ITEM::GetSelectedChild  )  const [inline]
 

Get 'selected' child for this item.

Returns:
ITEM pointer or NULL if none selected.

Definition at line 291 of file grtree.h.

GRAPHICTREE& GRAPHICTREE::ITEM::GetTree  )  const [inline]
 

Get GRAPHICTREE associated with item.

Returns:
Reference to GRAPHICTREE.

Definition at line 296 of file grtree.h.

bool GRAPHICTREE::ITEM::IsRoot  )  const [inline]
 

Determine if this is the 'root' item.

Definition at line 300 of file grtree.h.

void GRAPHICTREE::ITEM::SetChildrenVisible bool  visible = true,
bool  redraw = true
 

Set visibility for item's children.

void GRAPHICTREE::ITEM::SetChildSpacing UINT8  p_Spacing  )  [inline]
 

Set spacing between children.

Definition at line 310 of file grtree.h.

void GRAPHICTREE::ITEM::SetMayHaveChildren bool  p_MayHaveChildren = true  )  [inline]
 

Set whether item 'might' have children.

This setting has no effect if item does have children.

Definition at line 316 of file grtree.h.

void GRAPHICTREE::ITEM::SetPrivPtr void *  PrivPtr  )  [inline]
 

Set 'private pointer' for this item.

Definition at line 321 of file grtree.h.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:19:47 2004 for TNTsdk by  doxygen 1.3.8-20040913