/* B65_ZK_1473_ViewModel.java {{IS_NOTE Purpose: Description: History: 2012/11/23 ¤U¤È5:31:36 , Created by Vincent }}IS_NOTE Copyright (C) 2012 Potix Corporation. All Rights Reserved. {{IS_RIGHT This program is distributed under LGPL Version 3.0 in the hope that it will be useful, but WITHOUT ANY WARRANTY. }}IS_RIGHT */ package org.zkoss.zktest.test2; import java.util.ArrayList; import java.util.List; public class B65_ZK_1473_ViewModel { private List dataModel; public B65_ZK_1473_ViewModel() { dataModel = new ArrayList(); for(int i = 0; i < 300; i++) dataModel.add(new Item("" + i)); } public List getDataModel() { return dataModel; } public class Item { private String name; public Item(String name) { this.name = name; } public String getName() { return name; } public void setName(String name) { this.name = name; } } }