开发工具:
文件大小: 605kb
下载次数: 0
上传时间: 2004-08-11
详细说明: 为60系列平台设计Java应用 为60 系列平台设计Java 应用 | 2 目录 1. 引言.............................................................................................................................. 6 1.1 目的和范围.......................................................................... ....................................................6 2. 概述.............................................................................................................................. 7 2.1 MIDlet 概述..............................................................................................................................7 2.2 基本设计考虑...........................................................................................................................8 2.2.1 MIDlet 的局限性..............................................................................................................8 2.2.2 MIDlet 用户界面..............................................................................................................9 3. 应用生命周期.............................................................................................................. 10 3.1 MIDlet 的构造........................................................................................................................10 3.2 StartApp() ..............................................................................................................................10 3.3 PauseApp() ...........................................................................................................................11 3.4 DestroyApp (boolean unconditional) .....................................................................................11 4. 用户界面类................................................................................................................. 12 4.1 概述.......12 4.2 导航.......12 5. 高层用户界面API....................................................................................................... 14 5.1 命令处理14 5.2 命令类型14 5.2.1 Exit command Exit (退出)命令..................................................................................14 5.2.2 Screen (屏幕)命令.....................................................................................................15 5.2.3 Item (项目)命令.........................................................................................................15 5.2.4 Help (帮助)命令.........................................................................................................15 5.2.5 Back (返回)命令........................................................................................................15 5.2.6 OK/Cancel (OK/取销)命令.......................................................................................15 5.3 设计各种命令.........................................................................................................................16 5.4 Screen (屏幕)类.................................................................................................................16 5.4.1 16 5.4.2 List (列表).................................................................................................................17 5.4.3 Alert (报警)...............................................................................................................20 5.4.4 Form (表单)..............................................................................................................21 5.4.4.1 ChoiceGroup ............................................................................................................21 5.4.4.2 DateField..................................................................................................................21 5.4.4.3 Gauge (标尺)........................................................................................................22 5.4.4.4 StringItem.................................................................................................................22 5.4.4.5 TextField...................................................................................................................22 5.5 用户界面设计的实际步骤.......................................................................................................23 6. 低层用户界面API....................................................................................................... 24 6.1 用Canvas 进行低层事件处理................................................................................................24 6.1.1 ShowNotify() .................................................................................................................24 6.1.2 HideNotify()...................................................................................................................24 6.1.3 KeyPressed()、keyRepeated(),以及keyReleased() .................................................24 6.2 Canvas Graphics...................................................................................................................25 6.3 Graphics 25 6.3.1 显示文本.......................................................................................................................25 6.3.2 Image (图像)类..........................................................................................................26 7. 定时器和线程.............................................................................................................. 27 7.1 定时器....27 7.2 线程.......28 8. 网络MIDlets 概述...................................................................................................... 30 9. 永久存储概述.............................................................................................................. 31 9.1 读写一个记录的数据..............................................................................................................32 10. 诺基亚用户界面API ................................................................................................... 33 11. 更多参考读物.............................................................................................................. 35 ...展开收缩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.