Data Requirements for Hierarchy Viewers

29-12 Web User Interface Developers Guide for Oracle Application Development Framework

2. In the Structure window, right-click the dvt:node and choose Go to Properties.

3. Configure the appropriate properties in the Property Inspector. For example, set a value for the type property to associate a node component with an accessor: dvt:node type=model.rootEmp model.HvtestView For more information, see Section 29.3.3, How to Specify a Node Definition for an Accessor.

29.3.2 How to Configure the Controls on a Node

The node component dvt:node exposes a number of properties that allow you to determine if controls such as Restore, Isolate, Show or Hide appear at runtime. It also exposes properties that determine the size and shape of the node at runtime. To configure the controls on a node: 1. In the Structure window, right-click the dvt:node component and choose Go to Properties .

2. Configure properties in the Appearance section of the Property Inspector for the

dvt:node component, as described in Table 29–2 . 3. For information about configuring the properties in the Style section of the Property Inspector for the node component, see Section 20.4, Changing the Style Properties of a Component. The hover window is automatically displayed when the user moves the mouse over the node, reflecting the shape attribute set for the node. A node with the shape attribute roundedRect, for example, will have a hover window with the same attribute, as shown in Figure 29–8 . Table 29–2 Node Configuration Properties To do this: Set the following value for this property: Configure the Hide or Show controls to appear or not on a node. Set showExpandChildren to False to hide the controls. By default the property is set to True. Configure the Restore or Isolate controls to appear or not on the node. Set the showNavigateUp and showIsolate properties to False to hide these controls on the node. By default the property is set to true. If the showNavigateUp property is set to true, you must also set a value for the hierarchy viewer component’s navigateUpListener property, as described in Section 29.4.1, How to Configure Upward Navigation in a Hierarchy Viewer. Configure the height and width of a node. Set values for the width and height properties. Select the shape of the node. Select a value from the Shape dropdown list. Available values are: ■ ellipse ■ rect ■ roundedRect default