Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

exotkTree_TreeUpdator Class Reference

#include <exotkTree_TreeUpdator.hxx>

Collaboration diagram for exotkTree_TreeUpdator:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual Standard_EXPORT ~exotkTree_TreeUpdator ()
 Destructor. More...

virtual Standard_EXPORT void SetTree (const Handle_exotkTree_Tree &aTree)=0
virtual Standard_EXPORT Standard_Boolean ExpandNode (const Handle_exotkTree_TreeNode &aNodeToExpand, const Standard_Boolean Recursive)=0
 Expand aNodeToExpand. If Recursive is true, all the sub-children are also epanded. More...

virtual Standard_EXPORT Standard_Boolean CollapseNode (const Handle_exotkTree_TreeNode &aNodeToCollapse)=0
 Collapse aNodeToExpand. More...

virtual Standard_EXPORT Standard_Boolean ToggleExpansion (const Handle_exotkTree_TreeNode &aNodeToToggle, const Standard_Boolean Recursive)=0
 Toggle the expansion of aNodeToToggle ( if the node is collapsed, expand it ; if the node is expanded, collapse it ). More...

virtual Standard_EXPORT Standard_Boolean SetVisible (const Handle_exotkTree_TreeNode &aNode)=0
 Scroll the tree and expand aNode if necessary to be able to see it. More...

virtual Standard_EXPORT Standard_Boolean UpdateNode (const Handle_exotkTree_TreeNode &aNodeToUpdate)=0
 Update the display of aNodeToUpdate. More...

virtual Standard_EXPORT void NotifyInsertItem (const Handle_exotkTree_TreeNode &aParentNode, const Handle_exotkTree_TreeNode &anInsertedNode, const Handle_exotkTree_TreeNode &aPositionNode)=0

Protected Methods

Standard_EXPORT exotkTree_TreeUpdator ()
 Constructor. More...


Protected Attributes

Handle_exotkTree_Tree myTree

Detailed Description

Author:
Stephane Routelous

Definition at line 48 of file exotkTree_TreeUpdator.hxx.


Constructor & Destructor Documentation

exotkTree_TreeUpdator::exotkTree_TreeUpdator   [protected]
 

Constructor.

Definition at line 35 of file exotkTree_TreeUpdator.cxx.

exotkTree_TreeUpdator::~exotkTree_TreeUpdator   [virtual]
 

Destructor.

Definition at line 40 of file exotkTree_TreeUpdator.cxx.

References myTree.


Member Function Documentation

exotkTree_TreeUpdator::CollapseNode const Handle_exotkTree_TreeNode   aNodeToCollapse [pure virtual]
 

Collapse aNodeToExpand.

Returns:
Standard_Boolean : true if the node is successfully collapsed
Parameters:
aNodeToCollapse  const Handle_exotkTree_TreeNode&

Referenced by exotkTree_Tree::Collapse().

exotkTree_TreeUpdator::ExpandNode const Handle_exotkTree_TreeNode   aNodeToExpand,
const Standard_Boolean    Recursive
[pure virtual]
 

Expand aNodeToExpand. If Recursive is true, all the sub-children are also epanded.

Returns:
Standard_Boolean : true if the node is successfully expanded
Parameters:
aNodeToExpand  const Handle_exotkTree_TreeNode&
Recursive  const Standard_Boolean

Referenced by exotkTree_Tree::Expand().

exotkTree_TreeUpdator::NotifyInsertItem const Handle_exotkTree_TreeNode   aParentNode,
const Handle_exotkTree_TreeNode   anInsertedNode,
const Handle_exotkTree_TreeNode   aPositionNode
[pure virtual]
 

Parameters:
aParentNode  const Handle_exotkTree_TreeNode&
anInsertedNode  const Handle_exotkTree_TreeNode&
aPositionNode  const Handle_exotkTree_TreeNode&

Referenced by exotkTree_Tree::NotifyInsertItem().

exotkTree_TreeUpdator::SetTree const Handle_exotkTree_Tree   aTree [pure virtual]
 

Parameters:
aTree  const Handle_exotkTree_Tree&

Definition at line 44 of file exotkTree_TreeUpdator.cxx.

References myTree.

exotkTree_TreeUpdator::SetVisible const Handle_exotkTree_TreeNode   aNode [pure virtual]
 

Scroll the tree and expand aNode if necessary to be able to see it.

Returns:
Standard_Boolean : False if aNode is not in the tree
Parameters:
aNode  const Handle_exotkTree_TreeNode&

Referenced by exotkTree_Tree::SetVisible().

exotkTree_TreeUpdator::ToggleExpansion const Handle_exotkTree_TreeNode   aNodeToToggle,
const Standard_Boolean    Recursive
[pure virtual]
 

Toggle the expansion of aNodeToToggle ( if the node is collapsed, expand it ; if the node is expanded, collapse it ).

Returns:
Standard_Boolean : true if the operation succeed
Parameters:
aNodeToToggle  const Handle_exotkTree_TreeNode&
Recursive  const Standard_Boolean

Referenced by exotkTree_Tree::ToggleExpansion().

exotkTree_TreeUpdator::UpdateNode const Handle_exotkTree_TreeNode   aNodeToUpdate [pure virtual]
 

Update the display of aNodeToUpdate.

Returns:
Standard_Boolean
Parameters:
aNodeToUpdate  const Handle_exotkTree_TreeNode&

Referenced by exotkTree_Tree::UpdateNode().


Member Data Documentation

Handle_exotkTree_Tree exotkTree_TreeUpdator::myTree [protected]
 

the tree

Definition at line 129 of file exotkTree_TreeUpdator.hxx.

Referenced by SetTree(), and ~exotkTree_TreeUpdator().


The documentation for this class was generated from the following files:
Generated on Wed Jan 23 12:18:42 2002 for exotk by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001