9.4 Examining classes graphically

9.4.5 An example

1. Examine the classcapi:choice by typingcapi:choice into the Class area of the class browser.

The class is described in the current view.

2. Choose View > Graph from the class browser.

The relationships betweencapi:choice and its subclasses are depicted in a graphical form, as in Figure 9.7.

Figure 9.7 Relationship betweencapi:choice class and its subclasses

By default, the subclasses of the current class are shown in the graph. To expand any node in the graph, double-click on it.

3. Double-click on theCAPI:BUTTON-PANEL node to see the subclasses of this class.

The classes of button panel object available are displayed in the graph, including the push button panel class that you saw in the examples in Section 9.1 on page 112.

4. To graph the superclasses, click on Superclasses just above the graph.

The relationships betweencapi:choice and its superclasses are depicted in a graphical form, as in Figure 9.8.

Figure 9.8 Relationship betweencapi:choice class and its superclasses


Common LispWorks User Guide, Liquid Common Lisp Version 5.0 - 18 OCT 1996

Generated with Harlequin WebMaker