Planeshift
Public Member Functions | Protected Member Functions | Protected Attributes

pawsTreeNode Class Reference

#include <pawstree.h>

List of all members.

Public Member Functions

virtual bool BuriedInRuins ()
virtual void Clear ()
virtual void Collapse ()
virtual void CollapseAll ()
virtual void DeleteChild (pawsTreeNode *node)
virtual void Expand ()
virtual void ExpandAll ()
pawsTreeNodeFindChildByName (const csString &name, bool indirectToo)
pawsTreeNodeFindLastChild ()
pawsTreeNodeFindLastSibling ()
pawsTreeNodeFindLowestSubtreeNode ()
pawsTreeNodeFindNodeAbove ()
pawsTreeNodeFindNodeBelow ()
pawsTreeNodeFindNodeByPath (const csString &path)
csString GetAttr (const csString &name)
pawsTreeNodeGetFirstChild ()
pawsTreeNodeGetNextSibling ()
pawsTreeNodeGetParent ()
 Get this widget's parent.
pawsTreeNodeGetPrevSibling ()
int GetRowNum ()
virtual void InsertChild (pawsTreeNode *node, pawsTreeNode *nextSibling=NULL)
virtual bool IsCollapsable ()
virtual bool IsCollapsed ()
virtual bool Load (iDocumentNode *node)
 Load a widget based on its <widget></widget> tag.
virtual void MoveChild (pawsTreeNode *node, pawsTreeNode *nextSibling=NULL)
 pawsTreeNode (const pawsTreeNode &origin)
 pawsTreeNode ()
virtual void RemoveChild (pawsTreeNode *node)
void SetAttr (const csString &name, const csString &value)
virtual void SetCollapsable (bool collapsable)
void SetFirstChild (pawsTreeNode *child)
void SetNextSibling (pawsTreeNode *node)
void SetParent (pawsTreeNode *parent)
void SetPrevSibling (pawsTreeNode *node)
void SetTree (pawsITreeStruct *tree)
virtual ~pawsTreeNode ()

Protected Member Functions

void SetChildrenVisibAfterCollapseChange (bool expanded)

Protected Attributes

csArray< TreeNodeAttributeattrList
bool collapsable
bool collapsed
pawsTreeNodefirstChild
pawsTreeNodenextSibling
pawsTreeNodeparent
 This widget's parent.
pawsTreeNodeprevSibling
pawsITreeStructtree

Detailed Description

Definition at line 101 of file pawstree.h.


Constructor & Destructor Documentation

pawsTreeNode::pawsTreeNode ( )
pawsTreeNode::pawsTreeNode ( const pawsTreeNode origin)
virtual pawsTreeNode::~pawsTreeNode ( ) [virtual]

Member Function Documentation

virtual bool pawsTreeNode::BuriedInRuins ( ) [virtual]
virtual void pawsTreeNode::Clear ( ) [virtual]
virtual void pawsTreeNode::Collapse ( ) [virtual]
virtual void pawsTreeNode::CollapseAll ( ) [virtual]
virtual void pawsTreeNode::DeleteChild ( pawsTreeNode node) [virtual]
virtual void pawsTreeNode::Expand ( ) [virtual]
virtual void pawsTreeNode::ExpandAll ( ) [virtual]
pawsTreeNode* pawsTreeNode::FindChildByName ( const csString &  name,
bool  indirectToo 
)
pawsTreeNode* pawsTreeNode::FindLastChild ( )
pawsTreeNode* pawsTreeNode::FindLastSibling ( )
pawsTreeNode* pawsTreeNode::FindLowestSubtreeNode ( )
pawsTreeNode* pawsTreeNode::FindNodeAbove ( )
pawsTreeNode* pawsTreeNode::FindNodeBelow ( )
pawsTreeNode* pawsTreeNode::FindNodeByPath ( const csString &  path)
csString pawsTreeNode::GetAttr ( const csString &  name)
pawsTreeNode* pawsTreeNode::GetFirstChild ( )
pawsTreeNode* pawsTreeNode::GetNextSibling ( )
pawsTreeNode* pawsTreeNode::GetParent ( )

Get this widget's parent.

Returns:
parent

Reimplemented from pawsWidget.

pawsTreeNode* pawsTreeNode::GetPrevSibling ( )
int pawsTreeNode::GetRowNum ( )
virtual void pawsTreeNode::InsertChild ( pawsTreeNode node,
pawsTreeNode nextSibling = NULL 
) [virtual]
virtual bool pawsTreeNode::IsCollapsable ( ) [inline, virtual]

Definition at line 162 of file pawstree.h.

virtual bool pawsTreeNode::IsCollapsed ( ) [virtual]
virtual bool pawsTreeNode::Load ( iDocumentNode *  node) [virtual]

Load a widget based on its <widget></widget> tag.

Parameters:
nodeThe xml data for the widget.
Remarks:
Recursivly loads all child widgets.

Reimplemented from pawsWidget.

Reimplemented in pawsWidgetTreeNode, pawsSeqTreeNode, and pawsSimpleTreeNode.

virtual void pawsTreeNode::MoveChild ( pawsTreeNode node,
pawsTreeNode nextSibling = NULL 
) [virtual]
virtual void pawsTreeNode::RemoveChild ( pawsTreeNode node) [virtual]
void pawsTreeNode::SetAttr ( const csString &  name,
const csString &  value 
)
void pawsTreeNode::SetChildrenVisibAfterCollapseChange ( bool  expanded) [protected]
virtual void pawsTreeNode::SetCollapsable ( bool  collapsable) [virtual]
void pawsTreeNode::SetFirstChild ( pawsTreeNode child)
void pawsTreeNode::SetNextSibling ( pawsTreeNode node)
void pawsTreeNode::SetParent ( pawsTreeNode parent)
void pawsTreeNode::SetPrevSibling ( pawsTreeNode node)
void pawsTreeNode::SetTree ( pawsITreeStruct tree)

Member Data Documentation

Definition at line 189 of file pawstree.h.

bool pawsTreeNode::collapsable [protected]

Definition at line 190 of file pawstree.h.

bool pawsTreeNode::collapsed [protected]

Definition at line 191 of file pawstree.h.

Definition at line 186 of file pawstree.h.

Definition at line 187 of file pawstree.h.

This widget's parent.

Reimplemented from pawsWidget.

Definition at line 185 of file pawstree.h.

Definition at line 187 of file pawstree.h.

Definition at line 184 of file pawstree.h.


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