[ Previous | Next | Contents | Glossary | Home | Search ]
Motif and CDE 2.1 Style Guide



Elements of the User Interface

An element is a distinguishable part of the user interface that may or may not contain subelements. The elements in a user interface are:

  1. Data

  2. Graphic

  3. Object

  4. Icon

  5. Control

  6. Choice

  7. Composite

  8. Workspace

  9. Window

    The following sections describe each of these elements.

  10. Data

    Data is an element whose visual representation denotes its value. For example, text is data that is denoted by readable numbers and letters; a binary file is denoted by 0s and 1s.

    Graphic

    A graphic is an element that appears as an image. Graphic elements use a unique format that an application recognizes. XBM, GIF, and JPEG are common graphic formats.

    Object

    An object is an element that visually represents items that have behavior and contents not revealed solely by their visual representation. Objects are often represented as icons, but could be list elements as well. An object generally has a pop-up menu associated with it through which its contents or behavior are accessed.

    Icon

    An icon is an object represented as a graphic, often with an associated label.

    Control

    A control is an element whose behavior is predefined and that is generally supported directly by the Motif toolkit implementation. Types of controls include spring-loaded and tear-off controls.

    Choice

    A choice is a control that is selected by using the SELECT button (or keyboard) to initiate a user action or to toggle a value. There are three kinds of choices: action choices, modal choices, and toggle choices.

    Composite Element

    A composite element includes one or more of the following:

    1. Elements for packaging and tying together behavior

    2. Elements for controlling a view

    3. Elements for implementing selection scopes

    4. Workspace

      A workspace is a container where all elements reside. Workspaces generally contain the following elements:

      1. Windows (both primary and secondary)

      2. Window icons represented by graphic elements with associated labels

      3. Optional window icon boxes

      4. Other controls and objects defined by the workspace model, such as objects represented by icons

      5. Window

        A window is an element on the workspace that presents a view of an object or conducts a dialog with the user. Windows are used to present objects, messages, or menus, or to prompt for information. The two types of windows are primary windows and secondary windows.


        [ Previous | Next | Contents | Glossary | Home | Search ]