当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: Screen类有四个子类: Alert List TextBox FormList根据Choice接口的定义,分为:Choice.Exclusive(单选)Choice.MULTIPLE(多选)Choice.IMPLICIT(简易式的单选)单选型Image img=Image.createIm...
 

 

 ·java.lang.arraystoreexception翻译    »显示摘要«
    摘要: <!doctype html public "-//w3c//dtd html 4.01 transitional//en" "http://www.w3.org/tr/html4/loose.dtd"><!--newpage--><html><head><!-- generated by javado......
 ·java.lang.boolean翻译    »显示摘要«
    摘要: <!doctype html public "-//w3c//dtd html 4.01 transitional//en" "http://www.w3.org/tr/html4/loose.dtd"><!--newpage--><html><head><!-- generated by javado......


《Java 手机/PDA 程序设计入门》读书笔记3--LCDAUI高级API之List

screen类有四个子类: alert list textbox form

单选型image img=image.createimage("/a.png");list l=new list("list test",choice.exclusive);l.append("banana",img);l.append("apple",null);display.setcurrent(l); 【程序编程相关:javamail的几个实用知识点.

list根据choice接口的定义,分为:choice.exclusive(单选)choice.multiple(多选)choice.implicit(简易式的单选) 【推荐阅读:基于目录结构认证的问题

多选型list l=new list("list test",choice.multiple);……int size=l.size();for (int i=0;i<=size;i++){ if(l.isselected(i)) {  system.out.println("you have selected"+i); }} 【扩展信息:关于cookie目录的总结(JSP和Se

insert()可在特定项目后插入一个新项目.set()可以重新设定某个项目.……system.out.println("you have choice the"+l.getselectedindex()+"item.");system.out.println("the content is:"+l.getstring(l.getselectedindex()));


...   下一页
 ·java.lang.abstractmethoderror翻译    »显示摘要«
    摘要: <!doctype html public "-//w3c//dtd html 4.01 transitional//en" "http://www.w3.org/tr/html4/loose.dtd"><!--newpage--><html><head><!-- generated by javado......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE