Container

Folders are extensively used within the Workplace Shell to logically group objects (represented by their icons) on the desktop. A folder consists of a standard window frame plus a container control which occupies the whole of the client area. A folder can contain other folders, objects representing work items such as reports, or physical items such as printers. The objects displayed by a container control are determined by the application.

Figure "Container Control Used in Folder Window"

Various types of objects may be displayed within a container; these include objects representing printers and other physical devices, as well as those representing items such as files or documents. Information about these objects can be presented in a variety of views. Each view describes the objects in a different format, some giving different and/or additional information. The container supports the following views of its data:

Icon view

The name view Text view Details view Tree view

Each instance of text in the container can consist of unlimited lines with unlimited characters in each line. In addition, the container control does not limit the number of objects within a container. Objects are automatically arranged within the client area of the container.

Direct manipulation is supported in all views of the container control. This allows the user to drag container items within a current window or from one window to another.

Containers and their use by applications are further explored in OS/2 Version 2.0 - Volume 4: Application Development.

User Interaction

The end user can alter any text field in the container, including the container title, column headings in details view and all container items, through direct editing. Text strings can also be individually set to a "read-only" state.

Objects within a container may be selected through marquee, touch swipe, range swipe, and first letter selection techniques. The container control supports single, extended, and multiple selection types; these are described in the IBM Systems Application Architecture CUA Advanced Interface Design Reference.


[Back: New Window Classes]
[Next: Notebook]