Keyboard Shortcuts and Mnemonics

The Analyzer has keyboard equivalents for mouse operations so that its capabilities are accessible to those who cannot or prefer not to use the mouse. This topic describes the keyboard equivalents for operations that use the mouse. It includes descriptions of the menus and the tabs where there are particular navigation issues. It is divided into the following sections:

General Navigation Actions

The JavaTM Look and Feel guidelines are used for keyboard navigation and activation of window components. The keys used for navigation and activation are summarized in the following table.

Keys Action
Tab Shift focus to the next component. The components are usually traversed from left to right and top to bottom.
Shift-Tab Shift focus to the previous component.
Ctrl-Tab Shift focus to the next component when focus is in an area that accepts tabs, such as a text box.
Ctrl-Shift-Tab Shift focus to the previous component when focus is in an area that accepts tabs, such as a text box.
Up arrow Move up a list. The item that has focus is selected.Move a splitter bar left or up.
Down arrow Move down a list. The item that has focus is selected.Move a splitter bar right or down.
Left arrow Move left one component, for example, to the previous tab in a tabbed pane. Move a splitter bar left or up.Close a node in a tree.
Right arrow Move right one component, for example, to the next tab in a tabbed pane. Move a splitter bar right or down.Open a node in a tree.
Ctrl-up arrow Move up one row in a table without selecting the cell that has focus.
Ctrl-down arrow Move down one row in a table without selecting the item that has focus.
Home Move to the beginning of the data. In a table, move to the first cell in a row.
End Move to the end of the data. In a table, move to the last cell in a row.
Page Up Scroll up one page.
Page Down Scroll down one page.
Return Perform default action. In a dialog box this is usually equivalent to clicking the OK button.
Escape Dismiss a dialog box or close a menu without performing any actions.
Spacebar Activate item that has focus, for example, select or clear a checkbox.
Shift-spacebar Extend selection in a list by one component.
Ctrl-spacebar Toggle selection of current list item without changing selection of other items.

Menus

The following table describes the keystrokes for opening the menus

Keys Action
Alt-F Open the File menu
Alt-V Open the View menu
Alt-T Open the Timeline menu
Alt-H Open the Help menu

The File Menu

The following table describes the keystrokes for selecting items from the File menu.

Keys Command Action
O Open Experiment Clear the display of all data and load an experiment.
A Add Experiment Add an experiment to the set of experiments that are loaded.
D Drop Experiment Remove an experiment from the set of experiments that are loaded.
e Collect Experiment Remove an experiment from the set of experiments that are loaded.
M Create Mapfile Create a Mapfile.
P Print Print data from the tab that has focus.
N Create New Window Create a secondary Analyzer window.
C Close Close the current Analyzer window.
x Exit Close all Analyzer windows and exit.

The Open Experiment, Add Experiment and Create Mapfile dialog boxes are File Chooser dialog boxes, which use the standard shortcuts for selecting items (see General Navigation Actions). The following table describes the mnemonics for the actions available in these three dialog boxes.

Keys Action
Alt-I Choose the folder (directory) to look in.
Alt-N Type in the file name.
Alt-T Choose the types of files to display in the list box.
Alt-O Open the selected file.
Alt-C Dismiss the dialog box without opening a file.

The View Menu

The following table describes the keystrokes for selecting items from the View menu. Each keystroke opens a dialog box from which actions can be performed.

Keys Command Action
t Select Tabs Select The tabs to be displayed in the Analyzer window for the current experiment.
P Set Data Presentation Choose visible metrics, metric sort order, compiler commentary classes, highlighting threshold.
F Filter Data Choose experiments, samples, threads and LWPs for which data is displayed.
S Show/Hide Functions Choose load objects whose functions are shown or hidden.
c Show Function Color Chooser Change the color coding of functions displayed in the Timeline tab.

In the Filter Data dialog box, using the Tab key traverses the left half of the box, then the right half, then the action buttons at the bottom.

The Timeline Menu

The following table describes the keystrokes for selecting items from the Timeline menu.

Keys Command Action
B Back One Event Select the previous event in the current bar
F Forward One Event Select the next event in the current bar
U Up One Bar Select the event in the bar above that is closest in time to the currently selected event.
D Down One Bar Select the event in the bar below that is closest in time to the currently selected event.
R Reset Display Display data for the full time range.
I Zoom In x2 Display data for half the currently visible time range.
o Zoom Out x2 Display data for twice the currently visible time range.

The Help Menu

The following table describes the keystrokes for selecting items from the Help menu.

Keys Command Action
P Performance Analyzer Open the helpset viewer with the overview topic displayed.
N New Features Display the topic that describes the new features of the Performance Analyzer since the last release.
Q Quick Reference Display the quick reference guide.
K Keyboard Shortcuts Display this topic.
S Help Shortcuts Display the topic that describes how to navigate the help browser.
R Troubleshooting Display the topic that gives an overview of possible problems.
A About Performance Analyzer Display the version, pathname, and other information about the Performance Analyzer.

The Functions Tab

If you want to select a function in the Functions tab, use the arrow keys to navigate to the functionn then use Spacebar to select the function. To select a function from the function list without using the arrow keys, use the Find tool (Alt-D), then use Spacebar to select the function.

The Callers-Callees Tab

To select a function from the callers list or the callees list, you cannot use the keyboard directly. Instead, use the Find tool (Alt-D) to find the function, then use Tab to return to the Callers-Callees content pane and Ctrl-Tab to shift focus to the desired pane. The found function now has focus. Use Spacebar to select the function.

The Experiments Tab

The table in this section describes keyboard actions that apply specifically to the components in the Experiments tab. Some of the general navigation actions also apply to this tab.

Keys Action
Tab Shift focus to the content pane from the tab.Shift focus to the next pane inside the content pane.Shift focus to the text area and select the entire text.
Ctrl-Tab Shift focus to the next component.
Ctrl-Shift-Tab Shift focus to the previous component.
Up arrow Move up the tree.Navigate in a text area.
Down arrow Move down the tree.Navigate in a text area.
Left arrow Close the current node in the tree.Navigate in a text area.
Right arrow Open the current node in the tree.Navigate in a text area.
F2 Edit the text area. Note: the text area cannot be modified, but editing allows you to navigate and select text.
Escape Exit from editing mode.

The Timeline tab

The arrow keys are used to step between individual events, or between adjacent bars. However, to activate them it is necessary to use the zoom keys first. On the first entry into the Timeline tab, press Tab to enter the content pane, press Num Lock if the numeric lock is not already active, then press Ctrl-Plus. (If you want to return to the full display press Ctrl-Minus). The arrow keys should now be active. The Plus and Minus keys are the keys on the numeric keypad.

The LeakList tab

The left/right arrow keys are used to step back and forth between the previous/next leak or allocation.
See also
Quick Reference Guide
Navigation Problems

Can't find what you are looking for? Submit your comments at http://www.sun.com/hwdocs/feedback.
Legal Notices