Java Reference
In-Depth Information
Figure 9.3
The Structure tool window allows you to
both view and control your Java code as a
tree consisting of method, field, and
property nodes.
information is presented (see chapter 2 for a review of working with tool win-
dows if you aren't sure on how to create this multi-pane interface):
Sort Alphabetically lists members alphabetically by name rather than in
the order they're defined in the class. Any grouping options specified are
honored, and the sorting applies within the group.
Sort by Visibility sorts the list by accessibility (public, private, protected,
and so forth). Methods and fields are listed in order of most public to least
public, pushing all the private members to the bottom of the list.
Group Methods by Defining Type organizes methods by the class from
which they were inherited or the interface that required them. Each group
appears in a little collapsible tree node.
Show Properties toggles display of JavaBeans style properties. This option
is discussed in more detail later.
Show Fields toggles display of fields from the list.
Show Inherited Members toggles display of members inherited from the
base class. This option is discussed in more detail later.
Show Non-Public Members , if disabled, removes all private, protected,
and package visible methods and fields from the list, showing only the
public API for the class.
 
 
 
 
 
 
 
Search WWH ::




Custom Search