blob: 45f38e625154d2eb4bad4272c5b27945565ab317 [file]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Showing and hiding members</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
</head>
<body>
<h1>Showing and hiding members</h1>
<p>Several Java views (e.g. Outline, Package Explorer, Members) offer filtering of members (fields, types and methods). The filters are available as toolbar
buttons or as view menu items, depending on the view. There are
3 member filters:</p>
<ul>
<li><span class="control">Hide Fields</span>: when activated, this filter causes all fields to be removed from the view.</li>
<li><span class="control">Hide Static Members</span>: when activated, this filter causes all static members to be removed from the view.</li>
<li><span class="control">Hide Non-Public Members</span>: when activated, this filter causes all non-public members to be removed from the view.</li>
</ul>
Additionally, the Package Explorer can display or hide all elements inside compilation units.
<p>To show members in the Package Explorer:</p>
<ul>
<li>Select the <span class="control"> Show members in Package Explorer</span> checkbox
in the <span class="control">Window &gt; Preferences &gt; Java &gt; Appearance
</span>page.</li>
</ul>
To hide members in the Package Explorer:
<ul>
<li>Clear the <span class="control"> Show members in Package Explorer</span> checkbox
in the <span class="control">Window &gt; Preferences &gt; Java &gt; Appearance
</span> page</li>
</ul>
<p><img src="../images/ngrelt.gif" alt="Related tasks" border="0" height="27" width="159"><br>
<a href="tasks-2.htm">Showing and hiding elements</a><br>
<a href="tasks-47.htm">Filtering elements</a></p>
<p><img src="../images/ngrelr.gif" alt="Related reference" border="0" height="27" width="159"><br>
<a href="../reference/ref-preferences-appearance.htm">Appearance preference page</a><br>
<a href="../reference/ref-view-package-explorer.htm">Package Explorer</a></p>
<p><a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" alt="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved." border="0" height="14" width=
"324"></a></p>
</body>
</html>