
The Zinc widgets that make up the set of user interface objects can be classified
into a number of different categories. These categories include:
Windows and Dialogs
Decoration and Presentation
Selection
Input
Menus
List
Control
Compound
All Zinc visual objects are derived from the base Window object class ZafWindowObject.
This basic window object class provides many of the base interface characteristics
for objects including event handling for drag and drop operations, moving, resizing,
control over focus, foreground and background colors, and overriding of drawing
operations. The strength of the Zinc architecture is that custom user interface
classes can be derived from ZafWindowObject or from any other Zinc widget. This
allows application developers to rapidly create a customized application that is
unique in appearance and behavior.
Windows and Dialogs
Zinc provides a variety of different Window types from which applications can be
built. These include standard windows, modal windows, Multi-Document Interface (MDI)
windows, and a number of predefined window types to support operations such as file,
printer, and Unicode string editing.
ZafWindow
ZafDialogWindow
ZafMessageWindow
ZafMDIWindow
ZafScrolledWindow
ZafFileDialog
ZafPrintDialog
ZafStringEditor
Input
Zinc comes complete with a full suite of input objects to manage
the input of a variety of information including strings, custom
formatted strings, numbers, dates, time, real numbers, and even a
multiple line text control.
ZafString
ZafFormattedString
ZafBignum
ZafDate
ZafInteger
ZafReal
ZafTime
ZafUTime
ZafText
Decoration and Presentation
Zinc provides a full set of predefined interface objects that
provides visual decorations for windows and manages the presentation.
These include decoration elements for windows such as borders, system
menu, minimize and maximize buttons, window titles. Zinc includes
objects for groups, splitters, status bars, and toolbars to provide
allow easy control over the visual layout of other window objects.
To present text, images, and status of operations, Zinc provides for
the display of prompts, images, and progress bar.
ZafBorder
ZafSystemButton
ZafMaximizeButton
ZafMinimizeButton
ZafTitle
ZafGroup
ZafSplitter
ZafStatusBar
ZafToolBar
ZafPrompt
ZafImage
ZafProgressBar
Menus
Zinc comes with the ability to build complete menu structures
for both popup and pull-down menu systems.
ZafPopUpMenu
ZafPullDownMenu
Lists
Zinc provides a number of list control objects including
combo box where the user can select from a drop down list of
elements. Horizontal and vertical controls which are used to
manage the display of elements in an organized presentation
widget are also available.
ZafComboBox
ZafHzList
ZafVtList
Control
Zinc also provides a number of interface control widgets
to aid in the manipulating of information and presentation
position, these include a spin control and scrollbar that
can also be formatted as a slider.
ZafSpinControl
ZafScrollBar
Selections
To allow user interactions, Zinc provides a variety of interface
selection objects. The Zinc button class provides a number of
different variations to include standard button, radio, checkbox,
flat, 3D, and toolbar. The icon class allows for the visual presentation
of both an image and associated text from which the user can select.
Two types of menu selections are provided with Zinc, pull-down
and pop-up.
ZafButton
ZafIcon
ZafPullDownItem
ZafPopUpItem
Compound
Zinc provides a number of objects for complex information presentation.
The notebook control allows the presentation of many pages of information
in a limited space. This control is ideal for both the desktop and embedded
systems in which the screen space is limited. To display tables of information
in a row oriented format, use the table widget that allows the placement of
column headers. To display complex hierarchy structures use the tree control
to present information such as a file structure.
ZafNotebook
ZafTable
ZafTableHeader
ZafTableRecord