DB2 graphic  QMF Version 8

Creating jumps

Jumps are hyperlinks between locations in a world. Most often, you provide a jump to a different scene, but you can also provide jumps to other viewpoints.

To create custom jumps, you assign an event, such as a user clicking a button, to the jump action.

Jumps can carry context information to the new location. For example, you can specify a scene parameter to be set at jump time and base the parameter on a calculated value or category, such as store location. Thus, a destination scene showing sales revenues can be based on store location and display different data depending on what context the user is coming from.

You must create both the source and the destination scenes or viewpoints before you can create a jump between them.

You can use the Object Behavior dialog box (double-click an event type on the Events page of the Object Inspector) to specify the jump event. For instructions, see the DB2 QMF Visionary Getting Started Guide.

You can specify an existing destination scene in a jump using an expression instead of a scene name. For example, you can specify the following expression:

=If(IsViewer("Plumber"), "Plumbing_Scene", "Electrical_Scene")

If the viewer class is Plumber, the jump goes to Plumbing_Scene. Otherwise, the jump goes to Electrical_Scene.

You can specify a parameter to be set when a jump action occurs. Global parameters appear in the Set Parameters page of the Object Behavior dialog box. Scene parameters appear in the Perform Action page after you select the jump destination.

Note: If you want the event action to set a parameter at the same time that it specifies the jump, you must create the parameter before creating the event action.


Go to the previous page Go to the next page

Downloads | Library | Support | Support Policy | Terms of use | Feedback
Copyright IBM Corporation 1982,2004 Copyright IBM Corporation 1982, 2004
timestamp Last updated: March, 2004