Ultra Light Client Guide and Reference
- addPreloadColumn(attributeName)
- The addPreloadColumn(attributeName) or preload(String attributeName) api
on the ULCAbstractTableModel is used for ensuring that all the data
for the column associated with the given attributeName, is uploaded to the UI
at startup. This feature is useful for widgets such as the ComboBox,
which (typically) have a small number of rows. Since this api precludes
any lazy-loading of data for the given column, it is not advisable to use this
api on table or tree widgets.
- addPreloadAttribute(attributeName)
- This api on ULCAbstractModel ensures that the attributes for
the given name are uploaded each time that row (oid) is uploaded. The
oid's themselves are still lazily loaded, but since the attribute always
accompanies the oid, one round-trip is saved. On the down side, setting
this preload attribute means higher traffic between the ULC and the UI, since
this attribute will get updated even if it has not changed.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]