Each class consists of members. The members differ as follows:

  • Public members—Can be accessed from any code (in a class or procedure) that has access to the class instance.
  • Package-Protected members—Can be accessed from the defining class, from a subclass, or from any class within its package.
  • Protected members—Can be accessed from the defining class or a subclass.
  • Package-Private members—Can be accessed from the defining class or any class within its package.

In addition, members can also be inherited, meaning they are available from the super class.

  1. To choose which members you want the Class Browser to display, do either of the following:
    • From the Content pane, right-click to see the context menu.
    • From the Class Browser toolbar, click Menu .
  2. Choose one or more of the available options: Show Public Members, Show Package-Protected Members, Show Protected Members, Show Package-Private Members, Show Inherited Members. (All options are initially selected by default.)
The Content pane displays only those members you have chosen to view. You cannot display private members in the Class Browser, since they cannot be used outside of the defining class.