net.rim.device.api.ui.component.table
Class SimpleListDataTemplate
java.lang.Object
net.rim.device.api.ui.component.table.DataTemplate
net.rim.device.api.ui.component.table.SimpleListDataTemplate
public class SimpleListDataTemplate
- extends DataTemplate
This class describes a default implementation of a DataTemplate for the needs of the SimpleList class.
All model Strings become LabelFields that use all available width, truncate with an ellipses and are focusable.
Anything else is ignored.
- Since:
- BlackBerry API 6.0.0
|
Method Summary |
Field[] |
getDataFields(int modelRowIndex)
Given an index for a model row, this method reads the row from the model and returns an array of fields encompassing the data found. |
| Methods inherited from class net.rim.device.api.ui.component.table.DataTemplate |
createRegion, createRegion, getColumnProperties, getNumberOfColumns, getNumberOfRegions, getNumberOfRows, getRowProperties, getView, isFixedHeight, setColumnProperties, setPosition, setRowProperties, useFixedHeight |
getDataFields
public Field[] getDataFields(int modelRowIndex)
- Given an index for a model row, this method reads the row from the model and returns an array of fields encompassing the data found.
The fields are created as described in
SimpleListDataTemplate.
- Specified by:
getDataFields in class DataTemplate
- Parameters:
modelRowIndex - An integer representing the row index in the model associated to the view of this DataTemplate.
- Returns:
- An array of Field objects that represent the data found at the specified model row.
- Since:
- BlackBerry API 6.0.0
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal