Grouping and Sorting Classes and Members
See Also
The Object Browser allows you to group or sort classes and members by access or by type. By default, no grouping or sorting is applied.
To group or sort classes and members
-
Right-click the Object Browser and click Grouping and Sorting on the shortcut menu. You can also click the Grouping and Sorting button on the Object Browser's command bar.
-
To group or sort classes, select a group category from the drop-down list in the Classes section:
-
To group classes by their access level, select Group by Class Access. Public classes are grouped into the Public Types category; nonpublic classes are grouped into the Package Types category, since they are only accessible from the packages they belong to.
-
To group classes by their types, select Group by Class Type.
-
To remove class groupings, select <No Grouping>.
-
If classes are grouped, you can change the order of the group categories. Select a category from the list and click the up arrow button or the down arrow button.
-
To group or sort members, select a group category from the drop-down list in the Members section:
-
To group members by their access level, select Group by Member Access.
-
To group members by their types, select Group by Member Type.
-
To remove member groupings, select <No Grouping>.
-
If members are grouped, you can change the order of the group categories. Select a category from the list and click the up arrow button or the down arrow button.
-
To display the names of the group categories in the Object Browser, select Group with headers in main list.
Note The group headers only apply to the primary list in the Object Browser. For example, suppose you have grouped members but the Object Browser is viewing only classes in the primary list. When a class is selected and its members are displayed in the dependent list, the members are grouped but the actual group headers are not included. For information about viewing classes and members in the primary and dependent lists, see Viewing Classes and Members.
-
Click OK.