Language
	
	
  
  
    
    
The Free and Open Productivity Suite
   
      
      
 
| Methods' Summary | 
| createNode | 
creates a new tree node with the given value and given settings.
   | 
| setRoot | 
changes the root node of this model to RootNode.
   | 
| Methods' Details | 
createNode
| XMutableTreeNode | 
 
| createNode( | 
[in] any | 
 DisplayValue, | 
 
 | [in] boolean | 
 ChildrenOnDemand ); | 
 
 
 
- Description
 
- creates a new tree node with the given value and given settings.
 
 
- Parameter DisplayValue
 
- should be convertable to a string and is used by the XTreeControl
 as a textual represenation of the created node.
 
 
- Parameter ChildrenOnDemand
 
- if true is used as a parameter, the created node will be treated as a non-leaf
 node by the XTreeControl, even when it has no child nodes.
 
 
- Returns
 
- a new XMutableTreeNode that can be used for this model.
 
 
- See also
 
- XTreeNode::getDisplayValue(), XTreeNode::hasChildrenOnDemand()
 
 
 | 
 
 
 | 
setRoot
 
- Description
 
- changes the root node of this model to RootNode.
 
 
- Parameter RootNode
 
- the XMutableTreeNode that becomes the new root node of this model.
 
 
- Throws
 
- ::com::sun::star::lang::IllegalArgumentException
 if RootNode is not a valid node of this XTreeDataModel.
 
 
 
 | 
 
 
 | 
Top of Page
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.