What Happens When You Customize the Point Images in a Map

27-14 Web User Interface Developers Guide for Oracle Application Development Framework dvt:map

27.5 Adding a Toolbar to a Map

When you create an ADF geographic map, also create a map toolbar if you want to be able to display the legend and the information panel, select themes if you have multiple themes of the same type, or use any of the distance measurement, area measurement, or selection tools.

27.5.1 How to Add a Toolbar to a Map

Because the map toolbar is a component that is separate from the map, you can position the toolbar on the JSF page above or below the map. The following procedure assumes that a map component exists on the JSF page. To create a map toolbar: 1. In the Structure window, right-click the dvt:map node and choose Insert before dvt:map or Insert after dvt:map ADF Data Visualization. 2. From the ADF Data Visualization Item dialog, select Toolbar. 3. In the Insert Toolbar wizard that displays, enter the ID of the map on which this toolbar will operate and click Next.

4. Enter a unique ID for the toolbar and optionally change the settings that control

the visibility of each tool.

27.5.2 What Happens When You Add a Toolbar to a Map

When you add a toolbar to a map, the following occur: ■ A toolbar appears in the JSF page above or below the map as requested. The toolbar contains all the tools unless you change the visibility of one or more tools. ■ XML code is generated and appears in the JSF page above or below the code for the map. Example 27–5 shows sample code for a toolbar that is associated with a map with the ID of map_us. It also shows the location of the code for the map. Example 27–5 Code Generated for a Map Toolbar af:form dvt:mapToolbar mapId=map_us id=T1 dvt:map id=map_us . . . dvt:map af:form 28 Using ADF Gantt Chart Components 28-1 28 Using ADF Gantt Chart Components This chapter describes how to use a databound ADF Gantt chart component to display data, and provides the options for customizing Gantt charts. This chapter includes the following sections: ■ Section 28.1, Introduction to the ADF Gantt Chart Components ■ Section 28.2, Understanding Gantt Chart Tags and Facets ■ Section 28.3, Understanding Gantt Chart User Interactivity ■ Section 28.4, Understanding Data Requirements for the Gantt Chart ■ Section 28.5, Creating an ADF Gantt Chart ■ Section 28.6, Customizing Gantt Chart Legends, Toolbars, and Context Menus ■ Section 28.7, Working with Gantt Chart Tasks and Resources ■ Section 28.8, Specifying Nonworking Days, Read-Only Features, and Time Axes ■ Section 28.9, Printing a Gantt Chart ■ Section 28.10, Using Gantt Charts as a Drop Target or Drag Source For information about the data binding of ADF Gantt charts, see the Creating Databound ADF Gantt Charts section in the Oracle Fusion Middleware Fusion Developers Guide for Oracle Application Development Framework.

28.1 Introduction to the ADF Gantt Chart Components

A Gantt chart is a type of horizontal bar graph that you use to plan and track projects. It shows resources or tasks in a time frame with a distinct beginning and end. An ADF Gantt chart component is composed of two regions, one displaying the Gantt chart data in a table, and the other displaying the Gantt chart data graphically with a resizable splitter between the two regions. The table and chart regions share the same data and selection model, supporting and synchronizing scrolling, and expanding and collapsing of rows between the two regions. At runtime, Gantt charts provide interaction capabilities in the table region to the user such as entering data, expanding and collapsing rows, showing and hiding columns, navigating to a row, and sorting and totaling columns. In the chart region, users can drag a task to a new date, select multiple tasks to create dependencies, and extend the task date. A Gantt chart toolbar is available to support user operations such as changing or filtering the view of the data, and creating, deleting, cutting, copying, and pasting tasks.