Using the Type Hierarchy Window

See Also

The Type Hierarchy window lets you inspect all subtypes or supertypes of a class.

To inspect all of the subtypes of a class:

  1. In the Source Editor, right-click on the class declaration or the class reference in a source or header file.
  2. To display the class hierarchy, choose Navigate > View Type Hierarchy. The Hierarchy window opens to the right of Source Editor window.

The default display is a tree view of all of the subtypes of the class.

Buttons at the bottom of the Type Hierarchy window allow you to change the include hierarchy display:

Button Description
Refresh button Updates the hierarchy display.
Subtypes button Changes the list to the supertypes of the class.
Supertypes button Changes the list to the subtypes of the class.
All Subtypes/Direct Only Subtypes button Toggles between the list of the all subtypes of the class to the list of only the direct subtypes.
Tree View/Plain List button Toggles the plain list and a tree view.
See Also
Going to a Type
Going to a Symbol
Going to a Declaration
Switching Between Source and Header Files

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.