Chapter 3. Direct Selection

When the Macintosh was introduced, it ushered into the popular mainstream the ability to directly select objects and apply actions to them. Folders and files became first-class citizens. Instead of a command line to delete a file, you simply dragged a file to the trashcan (Figure 3-1).

image with no caption
DOS command line for deleting a file versus dragging a file to the trash on the Macintosh
Figure 3-1. DOS command line for deleting a file versus dragging a file to the trash on the Macintosh

Treating elements in the interface as directly selectable is a clear application of the Make It Direct principle. On the desktop, the most common approach is to initiate a selection by directly clicking on the object itself. We call this selection pattern Object Selection (Figure 3-2).

Files can be selected directly on the Macintosh; Object Selection is the most common pattern used in desktop applications
Figure 3-2. Files can be selected directly on the Macintosh; Object Selection is the most common pattern used in desktop applications

In this chapter we will look at the following types of selection patterns:

Toggle Selection

Checkbox or control-based selection.

Collected Selection

Selection that spans multiple pages.

Object Selection

Direct object selection.

Hybrid Selection

Combination of Toggle Selection and Object Selection.

Toggle Selection

The most common form of selection on the Web is Toggle Selection ...

Get Designing Web Interfaces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.