Understanding the Hierarchy Viewer Component

Using ADF Hierarchy Viewer Components 29-5 Figure 29–2 Control Panel in Hidden State You cannot configure the Control Panel to appear in another location. Users click the Hide or Show Control Panel button shown in Figure 29–2 to hide or expand the Control Panel. Figure 29–3 shows the expanded Control Panel. Figure 29–3 Control Panel in Show State You can configure the hierarchy viewer component so that the Control Panel does not appear to the user at runtime. For information about the procedure, see Section 29.7.3, How to Configure the Display of the Control Panel. Table 29–1 describes the functionality that the controls in the Control Panel provide to users. The Panel Selector is automatically enabled if a node in your hierarchy viewer component contains a dvt:panelCard element with one or more af:showDetailItem elements. The Layout Selector appears automatically if the hierarchy viewer component uses one of the following layouts: ■ Vertical top down ■ Horizontal left to right ■ Tree ■ Radial ■ Circle For more information about layouts for a hierarchy viewer component, see Section 29.1.3, Available Hierarchy Viewer Layout Options. Table 29–1 Elements in the Control Panel Control Name Description Pan Control Allows user to reposition the hierarchy viewer component within the viewport. 29-6 Web User Interface Developers Guide for Oracle Application Development Framework

29.1.3 Available Hierarchy Viewer Layout Options

The hierarchy viewer can use any of the following layouts, specified by the component’s type attribute: ■ hier_vert_top - Vertical top down ■ hier_vert_bottom - Vertical bottom up ■ hier_horz_left - Horizontal left to right ■ hier_horz_right - Horizontal right to left ■ hier_horz_start - Horizontal, direction depends on the locale ■ hier_horz_end - Horizontal, direction depends on the locale ■ tree - Tree, indented tree ■ radial - Radial, root node in center and successive child levels radiating outward from their parent nodes Zoom to Fit Allows user to zoom a hierarchy viewer component so that all nodes are visible within the viewport. Zoom Control Allows user to zoom the hierarchy viewer component. Hide or Show Hides or shows the Control Panel. Panel Selector Displays a list of node panels that you have defined. Users can use the panel selector to show the same panel on all nodes at once. Layout Selector Allows a choice of layouts. Users can change the layout of the hierarchy viewer component from the layout you defined to one of the layout options presented by the component. For more information, see Section 29.1.3, Available Hierarchy Viewer Layout Options. Table 29–1 Cont. Elements in the Control Panel Control Name Description