User's Guide


Using object factories

This section introduces you to the concepts involved in using object factories. Using the Runner part you defined in Creating a reusable nonvisual part, and the RoadRaceView you built in Creating a reusable visual part, you will learn how to use an object factory and an ordered collection. When you finish, you will have a visual part that enables you to record the number and finish time of runners in a road race and that displays the total time it took for each runner to complete the race.

The completed visual part will look like the following:
Road Race window


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]