due to dependency from MWatch.java etc
This commit is contained in:
parent
89b48d1ad5
commit
758c426885
|
@ -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() : "");
|
||||
|
|
Loading…
Reference in New Issue