Symbian3/SDK/Source/GUID-0822B030-E776-4BD5-B9C9-23D3821BCE1F.dita
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Thu, 21 Jan 2010 18:18:20 +0000
changeset 0 89d6a7a84779
permissions -rw-r--r--
Initial contribution of Documentation_content according to Feature bug 1266 bug 1268 bug 1269 bug 1270 bug 1372 bug 1374 bug 1375 bug 1379 bug 1380 bug 1381 bug 1382 bug 1383 bug 1385

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License 
"Eclipse Public License v1.0" which accompanies this distribution, 
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
	Nokia Corporation - initial contribution.
Contributors: 
-->  <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"><concept id="GUID-0822B030-E776-4BD5-B9C9-23D3821BCE1F" xml:lang="en"><title>Selection
list</title><prolog><metadata><keywords></keywords></metadata></prolog><conbody>
<p>A selection list is a common means of displaying and accessing data in
applications. When a selection list is displayed, the application is typically
in a permanent state, which means that the user can leave the application,
open another application, and later return to the same state. Selection lists
are displayed in the main pane.</p>
<p>Typically, the user can open items in a selection list, leading into another,
more detailed view of the item within the application. In addition to browsing
and selecting items, other functions are available in the Options menu (see <xref href="GUID-BFEEECCA-190B-4DDE-8A04-4FE918BE8690.dita">Options menu</xref>).</p>
<p>The usage of the Selection key in selection lists deserves special attention.
Depending on the case, it can do the following actions:</p>
<ul>
<li><p>Selects the item in focus. This should happen whenever it is assumed
that it is clear to the user what happens. Selecting can mean:</p><ul>
<li><p>Opening an item, such as a folder or a date in Calendar, leading to
a detailed view.</p></li>
<li><p>Executing a command when the focused item is a command.</p></li>
</ul></li>
<li><p>Opens the context sensitive Options menu. This should only happen when
the user cannot be assumed to know what happens if the Selection key is pressed.
The menu should contain only high-priority options associated with the item
in focus, not general items such as Settings, Help, or Exit. The maximum amount
of options in the context sensitive Options menu is four.</p></li>
</ul>
<p>The two types of Selection key actions should not be mixed within one list;
one or the other should happen for every item in the list.</p>
<fig id="GUID-63BEF19B-2754-4AE4-BC37-BCBF767319B4">
<title>Select action opens a view</title>
<image href="GUID-15F35B7F-8CDD-49BA-A015-475C0F6221B8_d0e54972_href.png" scale="40" placement="inline"></image>
</fig>
<fig id="GUID-EB8B5041-9CBF-4580-AEBE-69AF79A11198">
<title>Select action performs a command</title>
<image href="GUID-5365F75F-647F-4225-B63B-35675EBD6038_d0e54980_href.png" scale="40" placement="inline"></image>
</fig>
<fig id="GUID-4F9A7034-DA55-4577-BB41-8BF0B5885242">
<title>Context sensitive Options menu opened with the Selection key</title>
<image href="GUID-2CF4F12C-DF30-43EB-BD3D-A6AF8BAB407A_d0e54988_href.png" scale="40" placement="inline"></image>
</fig>
<p>The keypad functions for selection lists are as follows:</p>
<table id="GUID-2AF81DA9-8C20-47AE-87DE-8252CC1DAF59"><title>Default key events
in selection list</title>
<tgroup cols="2"><colspec colname="col1"></colspec><colspec colname="col2"></colspec>
<tbody>
<row>
<entry><p>Arrow up / down</p></entry>
<entry><p>Moves the focus in the list.</p></entry>
</row>
<row>
<entry><p>Arrow left / right</p></entry>
<entry><p>May be ignored, or may have navigation functions associated with
them (see <xref href="GUID-EEF2F892-8900-475F-926B-A49D0D98C1C6.dita">Navigation</xref>).</p></entry>
</row>
<row>
<entry><p>Selection key</p></entry>
<entry><p>Selects the item; see the discussion above.</p></entry>
</row>
<row>
<entry><p>Left softkey (Options)</p></entry>
<entry><p>Opens the Options menu (see <xref href="GUID-BFEEECCA-190B-4DDE-8A04-4FE918BE8690.dita">Options
menu</xref>).</p></entry>
</row>
<row>
<entry><p>Right softkey (Back; Exit)</p></entry>
<entry><p>Back stepping (see<xref href="GUID-EEF2F892-8900-475F-926B-A49D0D98C1C6.dita">Navigation</xref>).</p></entry>
</row>
<row>
<entry><p>Clear</p></entry>
<entry><p>Deletes the item if it can be deleted (confirmation from the user
is required); otherwise ignored.</p></entry>
</row>
<row>
<entry><p>Edit</p></entry>
<entry><p>Ignored, or a marking function if the list is markable (see <xref href="GUID-ED784025-4E65-4BE9-ADA8-A13427B6EA30.dita">Markable list</xref>).</p></entry>
</row>
<row>
<entry><p>Numeric keypad</p></entry>
<entry><p>May be ignored, or may have specific functions within the state.</p></entry>
</row>
<row>
<entry><p>Other keys</p></entry>
<entry><p>Do the default action of the key.</p></entry>
</row>
</tbody>
</tgroup>
</table>
<fig id="GUID-02393CD0-886F-4628-97CE-9FA6DD034634">
<title>Selection lists </title>
<image href="GUID-B0E6F296-1340-4458-B9F6-EDC13BBF20E9_d0e55123_href.png" scale="40" placement="inline"></image>
</fig>
<section><title>Using selection lists
in C++ applications</title><p>The API to use for selection lists is the Lists
API. For implementation information, see Using
the Lists API.</p></section>
</conbody></concept>