J2ME中实现可伸展目录树TreeList
时间:2007-10-22 来源:不详 作者:林子
v3.addElement(new ExpandListItem("警察" Integer.toString(i),"/img/default.png","/img/Group-open.png","警察" Integer.toString(i),ExpandListItem.ITEM,false));
}
Vector v=new Vector();
v.addElement(new ExpandListItem(v1,"/img/Group-close.png","/img/Group-open.png","土匪帮",ExpandListItem.GROUP,false));
v.addElement(new ExpandListItem(v3,"/img/Group-close.png","/img/Group-open.png","警察局",ExpandListItem.GROUP,false));
v.addElement(new ExpandListItem(v2,"/img/default.png","/img/Group-open.png","法官",ExpandListItem.ITEM,false));
d.setCurrent(new ExpandList("花名册",Choice.IMPLICIT,v));
}
protected void pauseApp() {
// TODO Auto-generated method stub
}
protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
// TODO Auto-generated method stub
}
}
上一篇:利用JSP的思想来做ASP 下一篇:JSP/Servlet构建三层管理信息系统
文章评论
共有位Admini5网友发表了评论 查看完整内容