Showing Inherited Methods, Conditions, Properties, and Constants

You can display all constants, properties, methods, and conditions inherited from all superclasses by the class selected in the Class List of the Class Browser or Interface Browser. The Properties List and Methods List of the Class Browser and the Constants List and Methods List of the Interface Browser display only the constants and methods of the selected class or interface, and not those inherited from superclasses.

By default, inherited objects are not displayed, and they can be displayed in subclasses only if they are not specified as final in the superclass. (For details, see the final option under "Controlling the Use of Elements in Other Schemas", in Chapter 1.)

Methods that are reimplementations of superclass methods display (r) on the end of the list item method name; for example:

displayCustomer (r)

This is not done, however, for event methods, which are always reimplementations of a superclass method.

When a reimplemented superclass method is displayed in the editor pane, (reimplemented) is displayed in the status bar of the browser.

To display inherited objects in the Class Browser or Interface Browser

The Properties List (or Constants List) and the Methods List then display all objects provided by the selected class or interface as well as those provided by superclasses, if applicable. A check mark is displayed at the left of the command in the View menu to indicate that objects inherited by the class or interface are also displayed.

The objects are listed below the classes or interfaces in which they are provided, as shown in the following image.

For details about changing the display of inherited methods, properties, and constants so that it is effective for the current and all future work sessions until it is changed, see "Maintaining Browser Options", in Chapter 2. (As the default value is user‑specific, it applies only to your work sessions, and not those of other users.)

For details about displaying entities inherited from superschemas, see "Displaying All Superschema Classes in Your Class Browser", later in this chapter.