9.1 Simple use of the class browser

9.1.4 Examining other classes

There are two ways that you can examine other classes. The first is to type the name of the class you wish to see into the Class area. Press Return and the named class is described.

1. While still examining classcapi:list-panel, typecapi:push-button-panel into the Class area.

The classcapi:push-button-panel is described.

Because some class names may be potentially quite long, you can use tab completion to help save typing. If you press the Tab key when you have partially specified the name of a class in the Class area, the environment attempts to complete what you have typed. If it cannot complete the class name, a dialog appears that lists all the possible alternatives. Double-click on any of these alternatives to place it in the Class area.

The second way to examine other classes is by using the Superclasses and Subclasses areas available in the text view of the class browser.

In the text view, the Filter area and the main area of the slots view (which is the default view you have already seen) are replaced by two lists:

Choose View > Text to display the text view in the class browser, and choose View > Slots to change back to the default view.

Double-click on any superclass or subclass of the current class to examine it.

1. Double-click onCAPI:BUTTON-PANEL in the Superclasses area.

Thecapi:button-panel class is described.

2. Double-click onCAPI:PUSH-BUTTON-PANEL in the Subclasses area

Thecapi:push-button-panel class is described again.

So, using the text view, you can easily look through the related classes in a system.

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

Generated with Harlequin WebMaker