文件名称:
轻松搞定ExtJS 完整版 可以正常复制粘贴源码
开发工具:
文件大小: 3mb
下载次数: 1
上传时间: 2010-09-21
详细说明: 目录 目 录.............................................................................................................................................1 第一章:序..............................................................................................................................6 第二章:准备与资源..............................................................................................................9 一、下载..........................................................................................................................9 二、拦 路虎......................................................................................................................9 三、布署环境................................................................................................................. 11 四、SpketIDE.................................................................................................................12 五、资源........................................................................................................................16 六、小结........................................................................................................................16 第三章:Ext OOP基础.........................................................................................................17 一、javascript类的定义................................................................................................17 二、Extjs命名空间的定义...........................................................................................17 三、Extjs OOP...............................................................................................................17 四、配置(config)选项....................................................................................................19 五、Ext.apply()和Ext.applyIf().....................................................................................20 六、小结........................................................................................................................21 第四章:消息框....................................................................................................................22 一、话说消息框.............................................................................................................22 二、最简单的消息框——提示框.................................................................................23 三、输入框....................................................................................................................23 四、确认框....................................................................................................................24 五、自定义消息框.........................................................................................................24 六、进度条对话框.........................................................................................................25 七、让消息框飞出来.....................................................................................................26 八、小结........................................................................................................................27 第五章:页面与脚本完全分离.............................................................................................28 一、Extjs是脚本的世界...............................................................................................28 二、Ext.onReady事件...................................................................................................28 三、来自Extjs的问候..................................................................................................29 四、让界面动起来.........................................................................................................29 五、Ext.Fx 类.................................................................................................................30 六、Ext.Element 类中的动画函数................................................................................34 七、小结........................................................................................................................35 第六章:元素操作与模板.....................................................................................................36 一、重要也不重要的东西.............................................................................................36 二、Ext.DomHelper 类..................................................................................................36 三、Ext.XTemplate ........................................................................................................38 四、小结........................................................................................................................39 第七章:格式化....................................................................................................................40 一、用户需要优秀体验的内容.....................................................................................40 轻松搞定Extjs 李赞红(lifenote@21cn.com) 株洲北大青鸟 第 2 页共 264 页2 二、Ext.util.Format类...................................................................................................40 三、再谈XTemplete......................................................................................................44 四、如果连Format都不能满足XTemplete的需要呢?............................................45 五、小结........................................................................................................................45 第八章:Extjs组件结构.......................................................................................................46 一、Extjs的组件结构远比我们想象的复杂................................................................46 二、组件分类.................................................................................................................47 三、组件的生命周期.....................................................................................................48 四、组件渲染方法render .............................................................................................50 五、小结........................................................................................................................52 第九章:按钮与日期选择器.................................................................................................53 一、开始组件学习之旅.................................................................................................53 二、被设计得面目全非的按钮.....................................................................................53 三、日期选择器Ext.DatePicker ...................................................................................55 四、小结........................................................................................................................56 第十章:数据与ComboBox.................................................................................................57 一、数据在这里是动词.................................................................................................57 二、Ext.data.DataProxy类............................................................................................57 三、Ext.data.DataReader 类...........................................................................................58 四、Ext.data.Store类.....................................................................................................59 五、下拉列表框.............................................................................................................60 六、得到下拉列表框的值.............................................................................................62 七、源代码....................................................................................................................63 八、小结........................................................................................................................64 第十一章:Ajax与ComboBox ............................................................................................65 一、Ajax.........................................................................................................................65 二、Ext.Ajax类.............................................................................................................65 三、Ajax文件上传........................................................................................................67 四、你来自远方.............................................................................................................72 五、小结........................................................................................................................73 第十二章:分页与ComboBox.............................................................................................74 一、关于分页.................................................................................................................74 二、从Servlet获取当前页数据...................................................................................74 三、创建ComboBox.....................................................................................................76 四、小结........................................................................................................................77 第十三章:面板(Panel)....................................................................................................78 一、漂亮的窗格从这里开始.........................................................................................78 二、Ext.Panel类............................................................................................................78 三、小结........................................................................................................................83 第十四章:Panel的子类——Window窗口........................................................................85 一、概述........................................................................................................................85 二、Ext.Window类.......................................................................................................85 三、实现Window的最小化功能.................................................................................87 四、小结........................................................................................................................91 轻松搞定Extjs 李赞红(lifenote@21cn.com) 株洲北大青鸟 第 3 页共 264 页3 第十五章:Panel的子类——FormPanel .............................................................................93 一、无处不在的表单.....................................................................................................93 二、Ext.form.FormPanel类...........................................................................................93 三、提交表单至服务器.................................................................................................97 四、小结......................................................................................................................100 第十六章:更多表单组件...................................................................................................102 一、您能说出哪些表单组件呢?...............................................................................102 二、表单组件关系图...................................................................................................102 三、组件配置选项介绍...............................................................................................103 四、完整源代码...........................................................................................................107 五、小结...................................................................................................................... 112 第十七章:悬停提示与验证............................................................................................... 113 一、悬停提示............................................................................................................... 113 二、悬停提示的用法................................................................................................... 114 三、表单组件验证....................................................................................................... 118 四、小结......................................................................................................................120 第十八章:FormPanel布局与初始化................................................................................121 一、布局概述...............................................................................................................121 二、分割吧!...............................................................................................................121 三、表单初始化...........................................................................................................126 四、小结......................................................................................................................131 第十九章:叹为观止的表格组件——GridPanel...............................................................132 一、表格、表格面板...................................................................................................132 二、列模型与数据.......................................................................................................132 三、加强版的列模型...................................................................................................135 四、小结......................................................................................................................138 第二十章:行模型与Grid视图.........................................................................................139 一、行选择模型...........................................................................................................139 二、Grid视图..............................................................................................................143 三、小结......................................................................................................................147 第二十一章:GridPanel分页.............................................................................................148 一、跑跑题——JSON-LIB.........................................................................................148 二、分页工具栏...........................................................................................................154 三、分页......................................................................................................................154 四、小结......................................................................................................................157 第二十二章:GridPanel扩展.............................................................................................158 一、学会自学吧,朋友...............................................................................................158 二、带摘要的GridPanel .............................................................................................158 三、RowExpander........................................................................................................162 四、分组GridPanel .....................................................................................................165 五、将带摘要的GridPanel和分组GridPanel合二为一..........................................168 六、小结......................................................................................................................171 第二十三章:可编辑的GridPanel——EditGridPanel.......................................................172 一、EditGridPanel........................................................................................................172 轻松搞定Extjs 李赞红(lifenote@21cn.com) 株洲北大青鸟 第 4 页共 264 页4 二、编辑订单数据.......................................................................................................173 三、保存修改的数据至服务器...................................................................................178 四、处理请求...............................................................................................................179 五、完整源代码...........................................................................................................181 六、验证......................................................................................................................186 七、替换选择模型.......................................................................................................187 八、小结......................................................................................................................187 第二十四章:树与选择模型...............................................................................................188 一、树——TreePanel...................................................................................................188 二、创建简单的TreePanel..........................................................................................189 三、选择模型...............................................................................................................192 四、MultiSelectionModel ............................................................................................195 五、带复选框的节点...................................................................................................195 六、小结......................................................................................................................199 第二十五章:动态操作树节点...........................................................................................200 一、概述......................................................................................................................200 二、基本操作...............................................................................................................201 三、事件......................................................................................................................203 四、小结......................................................................................................................204 第二十六章:远程获取节点数据.......................................................................................205 一、概述....................................................................................................................205 二、异步加载解析.......................................................................................................206 三、小结......................................................................................................................212 第二十七章:选项卡面板——Ext.TabPanel .....................................................................214 一、关于魅族和M8....................................................................................................214 二、TabPanel概述.......................................................................................................214 三、TabPanel标签操作...............................................................................................216 四、标签弹出菜单.......................................................................................................217 五、小结......................................................................................................................220 第二十八章:Viewport类...................................................................................................221 一、概述......................................................................................................................221 二、Viewport的基本使用...........................................................................................221 三、小结......................................................................................................................226 第二十九章:综合项目.......................................................................................................227 一、概述......................................................................................................................227 二、数据库设计...........................................................................................................228 三、持久层封装...........................................................................................................229 四、DAO......................................................................................................................235 五、业务层..................................................................................................................238 六、控制器Action.......................................................................................................242 七、Spring配置文件...................................................................................................249 八、主界面..................................................................................................................251 九、添加新员工...........................................................................................................253 十、员工信息维护.......................................................................................................255 轻松搞定Extjs 李赞红(lifenote@21cn.com) 株洲北大青鸟 第 5 页共 264 页5 十一、效果图...............................................................................................................261 十二、小结..................................................................................................................262 ...展开收缩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.