[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
Motif and CDE 2.1 Style Guide Reference
Selection Modes
Reference
Description
Selection modes are modes that control whether the elements identified by a
selection technique are selected or have their selection state toggled.
When to Use
RequiredIf toggle mode is supported, support add mode as well.
RequiredIf toggle mode is the default mode, support only toggle mode and add mode.
RequiredIf select mode is the default mode, and discontiguous selections are
allowed, then holding Ctrl down while initiating a mouse-based selection
technique forces it to operate in toggle mode.
RecommendedIf select mode is the default mode, so is normal mode.
RecommendedEven if selections are required to be contiguous, support add mode to
allow keyboard users to perform primary transfers.
Guidelines
RequiredWhen select mode or normal mode is in use, all elements (if any)
identified by a selection technique are selected, and all other elements are
deselected.
RequiredWhen toggle mode or add mode is in use, all elements (if any) identified
by a selection technique have their selection state toggled based on the
toggling policy; the selection state of the remaining elements is unaffected.
However:
If at most one element can be selected, and the technique selects an
element, deselect any other element selected.
If selections are required to be contiguous, the identified elements are
selected and all other elements are deselected (in add mode only; toggle mode
is not supported).
RequiredUse of a navigation key to move the active cursor within a selection scope
in normal mode, which results in an element cursor being placed on a
selectable element, selects that element and deselects all other elements in
the scope.
RequiredUse of a navigation key to move the active cursor within a selection scope
in normal mode, which results in an element cursor being placed on a
nonselectable element or on the control (as a whole) that contains the scope,
deselects all elements in the scope.
RequiredUse of a navigation key to move the active cursor within a selection scope
in normal mode, which results in a text cursor displayed as the active cursor,
deselects all elements in the scope.
RequiredUse of a navigation key to move the active cursor within a selection scope
in normal mode, which results in a graphics cursor displayed as the active
cursor, has no effect on the selection state of elements within the scope.
RequiredUse of a navigation key to move the active cursor within a selection scope
in add mode has no effect on the selection state of elements within the scope.
RequiredFor mouse-based operations in select mode, select the identified elements.
RequiredFor mouse-based operations in toggle mode, toggle the selection state of
the identified elements.
RequiredFor keyboard-based operations in normal mode, select the identified
elements.
RequiredFor keyboard-based operations in add mode, toggle the selection state of
the identified elements.
RequiredClicking the SELECT button in a selection scope, while using select mode
on a nonselectable element that can take focus, moves focus to that element
and deselects all elements in the scope.
RequiredClicking Ctrl SELECT in a selection scope, while using select mode on a
nonselectable element that can take focus, moves focus to that element but
does not affect the selection state of elements in the scope.
RequiredWhen both normal mode and add mode are supported, allow a user to press
Shift F8 to switch between the modes.
RequiredSwitching between normal mode and add mode does not change the default
mouse-based mode.
RequiredIf a selection scope is editable, automatically switch from add mode to
normal mode when an operation is performed on the selection or when it is
deselected.
RecommendedWhen switching from normal mode to add mode, if the cursored element is
the only one selected, deselect it.
RequiredWhen both normal mode and add mode are supported, distinguish visually
between the two modes.
RecommendedWhen an element cursor is used in a scope that supports both normal mode
and add mode, use a box element cursor in normal mode and a dashed element
cursor in add mode.
Essential Related Topics
For more information, see the Selection Policies and Selection
Techniques reference pages.
Supplemental Related Topics
For more information, see the Selection Models reference page.
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]