IlsRpTree
Description
The class IlsRpTree is created whenever a representation of type IlsRpTree is created by the generic protocol, based on your view specification. Each instance of IlsRpTree is associated with a JavaTM data source IlsTreeDataSource.
Tree Representation Attributes
root (Ref<IlsRpRootItem>): references the first-level item of the tree structure.
expandOnDemand (boolean): if this attribute is set to
false, all the tree items are sent by Rogue Wave Server, and loaded and inserted in the tree; otherwise, those tree items are loaded and inserted dynamically according to the corresponding expanded tree branch.
collapseOnDemand (boolean): if this attribute is set to
true, the tree items of a collapsed tree branch are dynamically removed from the tree; otherwise, those tree items remain in the tree.
Note: Setting the expandOnDemand attribute to false and the collapseOnDemand attribute to true are incompatible actions. |
Tree 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 IlsRpTree or IlsTreeDS2JTreeAdapter, or define a new adapter strategy.
Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.