4-1 Each collection has one or more appropriate selection models. The model limits the kinds of choices the user can make in the collection. Some collections enforce a selection model, while others allow the user or application to change it.
4-2 Single selection is the simplest selection model, used to select a single element. BSelect, the first mouse button, provides a consistent means of selecting an object within a group using the mouse.
4-3 Browse selection is used to select a single element. It also allows the user to browse through the collection by dragging BSelect.
4-4 Multiple selection allows the user to select or deselect multiple elements of a collection, one at a time, by using BSelect Click.
4-5 Range selection allows the user to select multiple contiguous elements of a collection by pressing and dragging BSelect.
4-6 In text-like collections, elements are ordered linearly, and a text pointer is always considered to be between elements at a point near the actual pointer position.
4-7 A marquee, or highlighted rectangle, is often used to indicate the range of a selection in graphics-like and list-like collections.
4-8
In a collection that uses range selection, when the user presses
BSelect, the anchor remains unchanged, and an extended range for
the selection is determined, based on one of the following extension
models (Mouse-Based Range Selection):
BSelect on the opposite side of the balance point from the anchor,
this model works exactly like the Reselect model.
When the user presses
BSelect
or starts a navigation action modified by
on the same side of the balance point as the anchor, this model moves
the anchor to the opposite end of the selection and then works exactly
like the Reselect model.
When the user releases BSelect, the anchor does not move, all the elements within the extended range are selected, and all the elements outside of it are deselected (Mouse-Based Range Selection).
BSelect provides a convenient means of extending the range of a
selection.
4-9
BSelect
works exactly as in the range selection model (Mouse-Based Discontiguous Selection).
Discontiguous selection is an extension of range selection that allows the user to select multiple discontiguous ranges of elements.
4-10
BSelect, the anchor and location cursor move to that point.
If the current selection is not empty and the user clicks
BSelect on an element, the selection state of that element is
toggled, and that element becomes the anchor element (Mouse-Based Discontiguous Selection).
In discontiguous selection,
BSelect Click provides a convenient means of moving the anchor and
toggling the selection state of the element under the pointer.
4-11
BSelect Motion toggles the selection state of a range of elements.
The range itself is determined exactly as for BSelect Motion.
Releasing
BSelect toggles the selection state of the elements in the range
according to one of two models (Mouse-Based Discontiguous Selection):
In discontiguous selection,
BSelect provides a convenient means of toggling the selection
state of elements in a range.
4-12
BSelect
toggles a selection,
BSelect or
BSelect
extends the range of toggled elements.
The extended range is determined in exactly the same way as when
BSelect
is used to extend a range selection.
When the user releases
BSelect
the selection state of elements added to the range is
determined by the toggle model in use (either Anchor Toggle or
Full Toggle).
If elements are removed from the range, they either revert to their
state prior to the last use of
BSelect or change to the state opposite that of the elements
remaining within the extended range (Mouse-Based Discontiguous Selection).
BSelect and
BSelect provide a convenient means of extending the range of
toggled elements.
4-13 Selection must be available from the keyboard. In normal mode, used for making simple contiguous selections from the keyboard, the location cursor is never disjoint from the current selection. In add mode, used for making more complex and possibly disjoint selections, the location cursor can move independent of the current selection.
4-14
switches from one mode to the other.
Mouse-based selection does not change when the keyboard selection mode
changes.
In editable components, add mode is a temporary mode that is exited when
the user performs an operation on the selection or deselects the
selection (Keyboard Selection).
provides a convenient means of switching between normal mode and add
mode.
4-15
on an unselected element, the element with the location cursor is
selected, and any other selection in the collection is deselected
(Keyboard-Based Single Selection).
Single selection supports only add mode.
Pressing
[Select]
or
is similar to clicking BSelect.
4-16
selects the cursored element and deselects any other element (Keyboard-Based Browse Selection).
Browse selection supports only normal mode. A navigation operation is similar to dragging BSelect.
4-17
on an unselected element adds the element to the current selection.
[Select]
or
on a selected element removes the element from the current selection
(Keyboard-Based Multiple Selection).
Multiple selection supports only add mode.
Pressing
[Select]
or
is similar to clicking BSelect.
4-18 Text-like collections can use a different model in which the navigation keys leave the anchor at its current location, except that, if the current selection is not empty, it is deselected and the anchor is moved to the location of the cursor prior to navigation (Keyboard-Based Range Selection).
Range selection supports normal mode, and, if the collection also supports add mode, normal mode is the default.
4-19
(except in a Text component) moves the anchor to the cursor, deselects
the current selection, and, if the cursor is on an element, selects the
element.
Unless the anchor is on a deselected item,
[Select]
or
(except in Text) extends the selection from the anchor to the cursor,
based on the extension model used by
BSelect (Reselect, Enlarge Only, or Balance
Beam) (Keyboard-Based Range Selection).
In range selection, pressing
[Select]
or
is similar to clicking BSelect, and pressing
[Select]
or
extends the range as with
BSelect.
4-20
in conjunction with the navigation keys extends the selection, based on
the extension model used by
BSelect.
If the current selection is empty, the anchor is first moved to the
cursor.
The cursor is then moved according to the navigation keys, and the
selection is extended based on the extension model used by
BSelect (Keyboard-Based Range Selection).
In range selection, shifted navigation extends the selection in a
similar manner to dragging
BSelect.
4-21
BSelect (Keyboard-Based Range Selection).
Shifted navigation in add mode is similar to shifted navigation in normal mode, except that when the selection is empty the anchor does not move to the cursor prior to navigation.
4-22 Normal mode does not permit multiple discontiguous selections.
4-23
moves the anchor to the location cursor and initiates toggling.
If the cursor is on an element, the selection state of that element is
toggled, but the selection state of all other elements remains
unchanged.
[Select]
or
and shifted navigation operations extend the selection between the
anchor and the location cursor, based on the toggle mechanism used by
BSelect (Anchor Toggle or Full Toggle) (Keyboard-Based Discontiguous Selection).
Add mode permits use of the keyboard to make multiple discontiguous selections.
4-24
to cancel or undo any incomplete motion operation used for selection.
Once the user presses
to cancel a motion operation, the application ignores subsequent key and
button releases until after all buttons and keys are released.
while extending or toggling leaves the selection state of all elements
as they were prior to the button press (Canceling a Selection).
allows the user
to cancel an incomplete selection operation quickly and consistently.
4-25
with BSelect pressed, the selection operation is canceled as
described in Canceling a Selection (Autoscrolling and Selection).
Autoscrolling provides a convenient means of extending a selection to elements outside the viewport of a scrollable collection.
4-26
[/]
selects all the elements in the collection, places the anchor at the
beginning of the collection, and leaves the location cursor at its
previous position (Selecting and Deselecting All Elements).
[/]
provides the user with a convenient means of selecting all of the
objects in a collection.
4-27
[\]
deselects all the elements in the collection.
In a collection that is in normal mode,
[\]
deselects all the elements in the collection, except the element with
the location cursor if the location cursor is being displayed.
In either mode,
[\]
leaves the location cursor at its current position and moves the anchor
to the location cursor (Selecting and Deselecting All Elements).
[\]
allows the user to deselect all of the selected objects quickly and
uniformly.
4-28
(Using Mnemonics for Elements).
Mnemonics within a collection of selectable elements provide an additional selection method.
4-29 The destination component is used to identify the component on which certain operations, primarily data transfer operations, act. There is only one destination component at a time.
4-30 A selection operation acts on the component that has focus, if that component supports selections.
4-31 An operation that does not act on a selection acts on the component that has focus, if that component supports the operation.
4-32 Pending delete controls the conditions under which the selection is deleted. It is enabled by default.
4-33 In add mode, a transfer operation that is disjoint from the selection does not affect the selection.
4-34
In editable list-like and graphics-like collections,
deletes the selected elements (Selection Operations).
provides a consistent means of deleting the selection.
4-35
and
[BackSpace]
behave as follows:
deletes one character forward, and
[BackSpace]
deletes one character backward.
deletes one character forward, and
[BackSpace]
deletes one character backward.
In text,
and
[BackSpace]
provide a convenient way to delete the entire selection or single
characters.
4-36 Three transfer operations are generally available: copy, move, and
link.
The user requests one of these operations by pressing the buttons or
keys appropriate for the type of transfer.
In general, for mouse-based operations, the modifier
forces a copy,
forces a move, and
forces a link.
However, any requested transfer operation must fail if that operation is
not available.
4-37 The insertion position is the position in the destination where transferred data is placed. Some mouse-based transfer operations place data at the pointer position if possible. Other operations, including keyboard-based transfer, generally place the data at the location cursor.
4-38 Clipboard selection actions need to be available from the keyboard.
4-39
and the Cut entry on the Edit Menu to cut the selected
elements from an editable component to the clipboard (Clipboard Transfer).
[Cut]
or
and the Cut entry on the Edit Menu offer a consistent means
of cutting the selection to the clipboard from the keyboard.
4-40
and the Copy entry on the Edit Menu to copy the selected
elements to the clipboard (Clipboard Transfer).
[Copy]
or
and the Copy entry on the Edit Menu offer a consistent means
of copying the selection to the clipboard from the keyboard.
4-41
to paste the contents of the clipboard into an editable component
(Clipboard Transfer).
[Paste]
or
offers a consistent
way of pasting the contents of the clipboard from the keyboard.
4-42 Popping up a Popup Menu over a selection indicates that a Paste or Paste Link operation should replace the selection.
4-43 Pending delete determines whether the selection is deleted when the insertion position is not disjoint from the selection and Paste or Paste Link is invoked from the Edit Menu or by a keyboard operation.
4-44
BTransfer Click,
[Copy],
and
copy the primary selection to the insertion position, as defined in
Transfer Models.
(Note that the insertion position is usually different for mouse and
keyboard operations.)
(Primary Transfer)
These operations provide a convenient way for the user to force a copy operation.
4-45
BTransfer Click,
[Cut],
and
move the primary selection to the insertion position, as defined in
Transfer Models.
(Note that the insertion position is usually different for mouse and
keyboard operations.)
(Primary Transfer)
These operations provide a convenient way for the user to force a move operation.
4-46
BTransfer Click
places a link to the primary selection at the insertion position, as
defined in Transfer Models (Primary Transfer).
BTransfer provides a convenient way for the user to force a link
operation.
4-47 This rule provides the expected treatment of the selection in move, copy, and link operation.
4-48 Quick transfer is used to make a temporary selection and then immediately move, copy, or link that selection to the insertion position of the destination component. In Text quick transfer provides a convenient way to move, copy, or link text without disturbing the primary selection.
4-49
BTransfer Motion or
BTransfer Motion temporarily selects elements in the
specified range and, on release, copies them to the insertion
position of the destination component (Quick Transfer).
These operations provide a convenient way to perform a quick copy.
4-50
BTransfer Motion temporarily selects
elements in the specified range and, on release, moves them to
the insertion position of the destination component (Quick Transfer).
This operation provides a convenient way to perform a quick cut.
4-51
BTransfer Motion temporarily
selects elements in the specified range and, on release, places
a link to them at the insertion position of the destination component
(Quick Transfer).
This operation provides a convenient way to perform a quick link.
4-52 Quick transfer is a secondary selection mechanism, so it cannot disrupt the primary selection. When the destination of the transfer is in the primary selection, quick transfer replaces the primary selection with the secondary selection.
4-53 This rule provides consistency between primary selection and quick transfer operations.
4-54
with BTransfer pressed, the highlighting is removed and a transfer
is not performed (Quick Transfer).
Autoscrolling provides a convenient means of extending a temporary selection to elements outside the viewport of a scrollable collection.
4-55
BTransfer Release forces a drag move operation.
If a move is not possible, the operation fails (Drag Transfer).
This mechanism offers a convenient way for the user to force a move operation.
4-56
BTransfer Release forces a drag copy operation.
If a copy is not possible, the operation fails (Drag Transfer).
This mechanism offers a convenient way for the user to force a copy operation.
4-57
BTransfer Release forces a drag link operation.
If a link is not possible, the operation fails (Drag Transfer).
This mechanism offers a convenient way for the user to force a link operation.
4-58 This mechanism offers a convenient way to move the selection within a component.
4-59 To be consistent, drag and drop actions need to operate on the entire selection.
4-60 To be consistent, drag and drop actions need to operate on the entire selection.
4-61 Unselected elements can be dragged without affecting the selection.
4-62 This guideline ensures the consistency of drag operations.
4-63 A drag icon provides visual feedback that a drag operation is in progress.
4-64 A source indicator gives a visual representation of the elements being dragged.
4-65
ends a drag and drop operation by canceling the drag in progress
(During a Drag).
provides a consistent way for the user to cancel a drag operation.
4-66 Releasing BTransfer offers a consistent means of ending a drag operation.
4-67 This rule provides consistency in the treatment of mouse-based transfer operations.
4-68 A transfer icon can be used to represent the type of data being transferred during a drop operation. A successful drop operation results in the transfer of data.
4-69 A failed drop operation does not result in the transfer of data.