list.add(createItem(m));
}
}
protected DataListItem createItem(M model) {
DataListItem item = new DataListItem();
item.setText(getTextValue(model, displayProperty, true));
item.setIconStyle(getIconValue(model, displayProperty));
String style = (styleProvider == null) ? null : styleProvider.getStringValue(model,
displayProperty);
item.setTextStyle(style);
setModel(item, model);
return item;
}