/* * 实现父类方法, 查询数据库并返回对应的数据格式, 调用父类的setDatas方法设置数据集合 */ public void setViewDatas() { Vector<Type> types = (Vector<Type>) service.getAll(); Vector<Vector> datas = changeDatas(types); setDatas(datas); }