Java Data Sources > Working with the Server/Java Mapping > Trees > IlsRpRootItem
 
IlsRpRootItem
Description
The class IlsRpRootItem extends the class IlsRpTreeItem. Instances of the class IlsRpRootItem are representation objects that represent the root node in the DefaultTreeModel attached to the JavaTM data source. No root item representation object can exist without a tree item representation object to which it is attached. Each tree representation has only one root node.
Root Item Representation Attributes
In addition to the representation attributes inherited from the class IlsRpTreeItem, Class IlsRpRootItem has the following attribute:
*tree (Ref<IlsRpRootItem>): references the tree to which the root belongs.
Root Item User-defined Properties
You can add your own root node properties in the dynamic view specification. To handle these specific properties, you must derive the class IlsRpRootItem or IlsTreeDS2JTreeAdapter, or define a new adapter strategy.

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.