Home > Articles > Programming > Java

This chapter is from the book 

Typical View Menu

Many applications include a View menu, whose menu items alter the presentation of data. For example, the View menu of some applications include items such as Large Icons, Small Icons, List, and Details. Figure 30 shows an example of a View menu.

Figure 30 Example View Menu

The appropriate items for the View menu depend on which objects your application contains. For example, the View menu of a network management application might include:

  • A List itemβ€”to display a network's computers as a list

  • A Topology itemβ€”to display the same network's computers as a topological graph

TIP

  • Ensure that items in the View menu change only the presentation of data in the current primary window. Ensure that the items do not change the data itself.

  • In the View menu, indicate which view the window currently displays. To do so, place a radio button next to each item for choosing a particular view (as shown in Figure 30). (For information about radio button menu items, see Chapter 9 of )

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.