2.2. Adding Cards

When the user selects the Add command from the Rolodex menu, the system updates the display area as shown in Figure 4.


Figure 4: Add card dialog.



To add a new card, the user fills in information for each of the five fields in the add-card dialog. For example, Figure 5 shows the result of the user having typed in information for a new card.


Figure 5: Add card dialog filled in.



To confirm the addition of the card into the rolodex, the user presses the OK button at the bottom of the dialog. When the user presses OK, the new card is added into the Rolodex, but the display does not change. That is, the typed-in information stays in place. This allows the user to add successive cards that may have similar field values in some positions. The successive adds may be made without reselecting the Add command from the Rolodex menu. For each successive card to be added, the user edits the desired data entry fields and presses the OK button when the edits are complete. Each successive press of OK adds another new card.

To clear all of the typed information in the text edit boxes, the user presses the Clear button. This puts the add-card dialog in its initial state, as shown in Figure 4. To cancel the Add command entirely, the user presses Cancel. When Cancel is pressed, the entire data area is cleared, leaving it empty as in the initial rolodex display shown in Figure 1.

The system disallows two or more cards to be added with the same value of Id field. Aside from this duplication restriction, any of the other fields may be the same on two or more cards. For example, two cards may have the same name and age, as long as the Id fields differ. The Rolodex Tool enforces data-entry constraints on the values typed in for the card fields, such as the length of field values. These constraints are covered in Section 2.8 on data entry details and Section 2.9 on error conditions.

As cards are added, they are stored in an online working copy of the rolodex. In order for the rolodex to be permanently saved in a file, the user must invoke the File->Save command. When the user selects File->Save from the state of the system shown in Figure 5, the screen appears as shown in Figure 6.


Figure 6: Initial file saving pop-up dialog.



The file-save dialog appears in a pop-up window, separate from the main Rolodex Tool window. To complete the save, the user enters the name of the file and presses OK; to cancel the save, the user presses Cancel. In either case (OK or Cancel), the system closes the pop-up save dialog, removing it from the screen. Figure 7 shows the result of the user having confirmed the save onto the file named "Office Rolodex".


Figure 7: Confirmed initial save.



When a rolodex file is saved, the name of the file is displayed in the banner of the tool window, as shown in the figure. Further details of the file commands are covered in Section 2.6.




Prev: ui-overview | Next: find | Up: functional | Top: index