Ultra Light Client Guide and Reference
The Row Model provides the functionality of a Form
Model. The main difference between the two classes is that the Row
Model gets its data (attribute values) from a row of a Table Model. A
row model must have a table Model defined. There are two ways to point
a row model to a specific row.
- The widget attribute of the Row Model can be connected to a list widget
(one of UlcList, UlcTable, or UlcComboBox). The row model uses the
currently selected item of that widget as its row.
Note: | The ULC proxy is not aware of the row its UI counterpart is using at any
time.
|
- The setRow: method of Row Model allows the application to
set the row to which the model should point. Since Row Model uses the
saveInput mechanism of Table Model, all UI widgets using the table Model are
automatically notified of changes made using the Row Model.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]