due to dependency from MWatch.java etc
This commit is contained in:
Redhuan D. Oon 2008-11-20 10:28:10 +00:00
parent 89b48d1ad5
commit 758c426885
1 changed files with 14 additions and 14 deletions

View File

@ -32,15 +32,15 @@ import org.zkoss.zul.event.ListDataEvent;
*/
public class SimpleListModel extends AbstractListModel implements ListitemRenderer, ListitemRendererExt {
protected List<Object> list;
protected List list;
private int[] maxLength;
public SimpleListModel() {
this(new ArrayList<Object>());
this(new ArrayList());
}
public SimpleListModel(List<Object> list) {
public SimpleListModel(List list) {
this.list = list;
}
@ -86,7 +86,7 @@ public class SimpleListModel extends AbstractListModel implements ListitemRender
listCell.setTooltiptext(tooltip);
}
private void renderCollection(Listitem item, Collection<Object> data) {
private void renderCollection(Listitem item, Collection data) {
int i = 0;
for (Object col : data) {
String value = (col != null ? col.toString() : "");