Java Data Sources > Working with the Server/Java Mapping > Trees > IlsRpTreeItem
 
IlsRpTreeItem
Description
Instances of the class IlsRpTreeItem are representation objects that represent each server object by a node or a leaf in the DefaultTreeModel attached to the JavaTM data source. No tree item representation object can exist without a tree representation to which this item is indirectly attached. Items represent server objects that are the target of the relation represented by the associated tree.
Tree Item Representation Attributes
*parent (Ref<IlsRpTreeItem>): references the parent element of this item, which can be an instance of IlsRpTreeItem or of its subclass IlsRpRootItem.
*label (any type): controls the data type of the tree elements.
*allowChildren (boolean): determines whether this item is a node or a leaf in the tree.
Tree Item User-defined Properties
You can add your own tree properties in the dynamic view specification. To handle these specific properties, you must derive the class IlsRpTreeItem or IlsTreeDS2JTreeAdapter, or define a new adapter strategy.

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