GRAPHICTREE::ITEM Class Reference

Individual tree item. More...

#include <mi32/grtree.h>

List of all members.

Classes

class  MSG
 Message container to send to message handler. More...

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.


Member Function Documentation

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

End of MSG class.

Get first child for this item.

Returns:
ITEM pointer or NULL if no children.
ITEM* GRAPHICTREE::ITEM::GetNextSibling (  )  const [inline]

Get next sibling for this item.

Returns:
ITEM pointer or NULL if end of list.
ITEM* GRAPHICTREE::ITEM::GetParent (  )  const [inline]

Get parent for this item.

Returns:
ITEM pointer or NULL if this is root item.
void* GRAPHICTREE::ITEM::GetPrivPtr (  )  const [inline]

Get 'private pointer' for this item.

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

Get 'reference index' for this item.

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

Get 'reference pointer' used when item was created.

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

Get 'selected' child for this item.

Returns:
ITEM pointer or NULL if none selected.
GRAPHICTREE& GRAPHICTREE::ITEM::GetTree (  )  const [inline]

Get GRAPHICTREE associated with item.

Returns:
Reference to GRAPHICTREE.
bool GRAPHICTREE::ITEM::IsRoot (  )  const [inline]

Determine if this is the 'root' item.

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.

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.

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

Set 'private pointer' for this item.


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

Generated on Sun Oct 7 21:33:29 2012 for TNTsdk 2012 by  doxygen 1.6.1