Types of Gantt Charts

28-6 Web User Interface Developers Guide for Oracle Application Development Framework f:facet af:column headerText=Resource af:outputText value={task.resourceName} af:column af:column headerText=Start Date af:outputText value={task.startTime} af:column af:column headerText=End Date af:outputText value={task.endTime} af:column dvt:projectGantt In addition to the nodeStamp facet, other facets are used for customizations by the Gantt chart components. Table 28–1 shows the facets supported by Gantt chart components. For complete descriptions of all the Gantt chart tags, their attributes, and a list of valid values, consult the DVT tag documentation. To access this documentation for a specific tag in JDeveloper, select the tag in the Structure window and press F1. To access the full ADF Data Visualization Tools tag library in JDeveloper Help, expand the Javadoc and Tag Library References node in the online Help Table of Contents and click the link to the tag library in the JDeveloper Tag Library Reference topic.

28.3 Understanding Gantt Chart User Interactivity

At runtime, users can perform a wide range of operations on a Gantt chart, including navigation and display, as well as actions that change the data in the table or chart region. Table 28–1 Facets Supported by Gantt Chart Components Name Description chartPopupMenu Specifies the component to use to identify additional controls to appear in the context menu of the chart region. Must be an af:popup component. customPanel Specifies the component to use to identify controls to appear in the custom tab of the task properties dialog. major Specifies the component to use to identify the major time axis. Must be a dvt:timeAxis component. menuBar Specifies the component to use to identify additional controls to appear in the Gantt menu bar. Must be an af:menu component minor Specifies the component to use to identify the minor time axis. Must be a dvt:timeAxis component. nodeStamp Specifies the component to use to stamp each element in the Gantt chart. Only certain types of components are supported, including all components with no activity and most components that implement the EditableValueHolder or ActionSource interfaces. Must be an af:column component. tablePopupMenu Specifies the component to use to identify additional controls to appear in the context menu of the table region. Must be an af:popup component. toolbar Specifies the component to use to identify additional controls to appear in the Gantt toolbar. Must be an af:toobar component. Using ADF Gantt Chart Components 28-7 When a user interaction involves a change in data, the Gantt chart processes the change by performing validation, event handling, and update of the data model. Validation ensures that the data submitted meets basic requirements, for example, that a date is valid and does not fall into a nonworking time period. When validation fails, the update of the data model is omitted, and an error message is returned. When a Gantt chart server-side event is fired, an event with validated information about the change is sent to the registered listener. The listener is then responsible for updating the underlying data model. A customized event handler can be registered by specifying a method binding expression on the dataChangeListener attribute of the Gantt chart component. Server-side events supported by the Gantt chart include: ■ Update of data in the table cells of the Gantt chart table region ■ Create, update, delete, move, cut, copy, paste, indent, outdent of tasks ■ Reassignment of resource by dragging the task bar from one row to another ■ Drag the task bar to another date ■ Extend the duration of a task ■ Link or unlink tasks ■ Select a row or multiple rows in the Gantt chart table region ■ Undo or redo of user actions ■ Double-click on a task bar Users can filter the data in a Gantt chart using a dropdown list from the toolbar. You can create a custom filter.

28.3.1 Navigating in a Gantt Chart

You can browse through Gantt chart regions by scrolling, or you can access a specific date in the chart region. You can also control if columns in the table region are visible.

28.3.1.1 Scrolling and Panning the List Region or the Chart Region

The Gantt chart design lets you perform horizontal scrolling of the table and the chart regions independently. This is especially helpful when you want to hold specific task or resource information constant in the table region while scrolling through multiple time periods of information in the chart region. Users can also zoom in and out on the time scale of a Gantt chart by holding the Ctrl key and using the mouse scroll wheel. In project and scheduling Gantt charts, users can pan the chart area by dragging it vertically and horizontally using the mouse. A move cursor displays when the user clicks inside the chart area, other than on a task.

28.3.1.2 How to Navigate to a Specific Date in a Gantt Chart

You can move the chart region of the Gantt chart rapidly to a specific date. To navigate to a specific date in a Gantt chart: 1. From the View menu, choose Go to Date. 2. In the Go to Date dialog, specify the desired date by clicking the Select Date icon and indicating the date in the calendar.