To expand or collapse compartments for members:
Select the class or interface.
Click the "+" or "-" in the section's upper left corner.
In the example that follows, the compartments are expanded: