background image
C H A P T E R 2 2
Transport Interface
22-22
Using the Transport Interface
Figure 22-1
Status view subtypes
Each child view included in a subtype has one important value that controls the
appearance of that child element. For example, the
vProgress
subtype consists of
three child views that have these important values:
statusText
(the string
displayed at the top of the view),
titleText
(the string displayed at the bottom of
the view), and
progress
(an integer indicating the percentage of the page that
should be shown filled with black). The important values for each subtype appear in
Table 22-1. This information is necessary for use in the
SetStatusDialog
method.
A transport specifies the use of a subtype in the status view by passing the subtype
name in the name parameter to the
SetStatusDialog
transport method.
Transports can dynamically switch from one status subtype to another without
closing the status view, and can easily update the contents of the status view as well
(for example, updating the progress indicator).
vStatus
vStatusTitle
vProgress
vGauge
vConfirm
vBarber
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна