blob: 542a7e0bd2db365fb8337f980b96a1a1fc35a47f [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Navigator Window</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>
<body>
<p><a id="navigator.java" name="navigator.java"></a></p>
<div id="NBCSH493"><!-- infolevel="all" infotype="General" --><a id="sthref47" name="sthref47"></a>
<h1>Navigator Window</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>The Navigator window provides a compact view of the file that is currently selected and can simplify navigation between different parts of the file. The Navigator window displays an organized view of the elements in a file when you select the file in the Projects window, the Files window or the source editor. You can use the Navigator window to navigate many file types, including Java, HTML, PHP, XML and CSS files. For some file types you can use a drop-down list at the top of the window to switch between views.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG483">
<param name="text" value="<html><u>More</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p>By default, the Navigator window opens in the lower left corner of the IDE.</p>
<p>The information and options that are visible in the Navigator will depend upon the type of file that is selected.</p>
<table summary="User interface elements and descriptions" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="24%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t52">Language</th>
<th align="left" valign="bottom" id="r1c2-t52">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t52" headers="r1c1-t52">
<p>Java</p>
</td>
<td align="left" headers="r2c1-t52 r1c2-t52">For Java files, you can see a list of constructors, methods, and fields.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG484">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
<p>When a Java file is selected, a drop-down list appears at the top of the Navigator window to enable you to choose between the following two views:</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t52" headers="r1c1-t52">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Members view</p>
</td>
<td align="left" headers="r3c1-t52 r1c2-t52">Select this option in the dropdown list to view an alphabetical listing of the selected source file's members (constructors, methods, and fields).</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t52" headers="r1c1-t52">
<p>Bean Patterns</p>
</td>
<td align="left" headers="r4c1-t52 r1c2-t52">Select this option in the dropdown list to limit the elements that are displayed to the class's bean properties and event listeners.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t52" headers="r1c1-t52">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Open Javadoc Window</p>
</td>
<td align="left" headers="r5c1-t52 r1c2-t52">Click to open the Javadoc window with documentation for the selected member.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t52" headers="r1c1-t52">
<p>HTML</p>
</td>
<td align="left" headers="r6c1-t52 r1c2-t52">For HTML files you can see a tree that displays nodes for elements in the selected document.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t52" headers="r1c1-t52">
<p>JavaScript</p>
</td>
<td align="left" headers="r7c1-t52 r1c2-t52">For JavaScript files you can see a tree that displays nodes for elements in the selected document such as functions and fields.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r8c1-t52" headers="r1c1-t52">
<p>PHP</p>
</td>
<td align="left" headers="r8c1-t52 r1c2-t52">For PHP files, you see a list of fields, methods, and constructors. PHP code outside of files is not displayed in the Navigator.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r9c1-t52" headers="r1c1-t52">
<p>XML</p>
</td>
<td align="left" headers="r9c1-t52 r1c2-t52">For XML files, the Navigator view displays a tree of elements.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r10c1-t52" headers="r1c1-t52">
<p>C/C++</p>
</td>
<td align="left" headers="r10c1-t52 r1c2-t52">For C/C++ files you can see a tree that displays nodes for elements in the selected document.</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<p>Commands are available in a popup menu when you right-click a node or element in the Navigator window. Some commands are unavailable for some types of files. You can invoke the filters from the menu or by clicking the icon in the filter bar at the bottom of the window. You can expand and collapse the filter bar by clicking the arrow at the bottom of the window.</p>
<table summary="User interface elements and descriptions" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="24%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t53">Command</th>
<th align="left" valign="bottom" id="r1c2-t53">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t53" headers="r1c1-t53">
<p>Go To Source</p>
</td>
<td align="left" headers="r2c1-t53 r1c2-t53">Opens the class in the Source Editor and places the insertion point at the beginning of the element that the node represents.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t53" headers="r1c1-t53">
<p>Sort By Name</p>
</td>
<td align="left" headers="r3c1-t53 r1c2-t53">Displays the members in alphabetical order.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t53" headers="r1c1-t53">
<p>Sort By Source</p>
</td>
<td align="left" headers="r4c1-t53 r1c2-t53">Displays the members in the order in which they appear in the code.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t53" headers="r1c1-t53">
<p>Filters</p>
</td>
<td align="left" headers="r5c1-t53 r1c2-t53">Opens a submenu that enables you to select some common filters for the types of members to display. You can select any combination of the following filters:</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t53" headers="r1c1-t53">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Show Inherited Members</p>
</td>
<td align="left" headers="r6c1-t53 r1c2-t53">Displays members that come from classes that the current class extends.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t53" headers="r1c1-t53">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Show Fields</p>
</td>
<td align="left" headers="r7c1-t53 r1c2-t53">Displays the class's fields.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r8c1-t53" headers="r1c1-t53">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Show Static Members</p>
</td>
<td align="left" headers="r8c1-t53 r1c2-t53">Displays static fields and methods.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r9c1-t53" headers="r1c1-t53">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Show Non Public Members</p>
</td>
<td align="left" headers="r9c1-t53 r1c2-t53">Displays members that do not provide public access.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r10c1-t53" headers="r1c1-t53">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Show Inner Classes</p>
</td>
<td align="left" headers="r10c1-t53 r1c2-t53"></td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r11c1-t53" headers="r1c1-t53">
<p>Show Attributes</p>
</td>
<td align="left" headers="r11c1-t53 r1c2-t53">Toggles the display of the attributes of the elements in the window. (XML only)</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r12c1-t53" headers="r1c1-t53">
<p>Show Content</p>
</td>
<td align="left" headers="r12c1-t53 r1c2-t53">Toggles the display of the text content of the elements in the window. (XML only)</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r13c1-t53" headers="r1c1-t53">
<p>Show in POM</p>
</td>
<td align="left" headers="r13c1-t53 r1c2-t53">Displays the line that contains the selected element in the source editor. (POM only)</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r14c1-t53" headers="r1c1-t53">
<p>Execute Goal</p>
</td>
<td align="left" headers="r14c1-t53 r1c2-t53">Executes selected goal. (Maven projects only)
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG646">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r15c1-t53" headers="r1c1-t53">
<p>Execute Goal with Modifiers</p>
</td>
<td align="left" headers="r15c1-t53 r1c2-t53">Opens Run Maven dialog box that enables you to modify the selected goal before you run it. (Maven projects only)</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<a id="NBCSH517" name="NBCSH517"></a>
<hr><p><b>Related Topics</b></p>
<p><i>Developing Applications with NetBeans IDE</i>,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG217">
<param name="text" value="<html><u>&quot;Working with Source Files in NetBeans IDE&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p><i>Developing Applications with NetBeans IDE</i>,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG483">
<param name="text" value="<html><u>&quot;Navigating in Java Code&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<!-- -->
<!-- Start Footer -->
<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>