声明:本人翻译水平有限,有误之处请多指教。
目 录
1. 简介
1.1 组件的两面性(Two Sides of a Component)
展现层
句柄
1.2页面和渲染(Page and Rendering)
非渲染解析(The Non-Rendering Phases)
渲染解析(The Rendering Phase)
模式(Molds)
1.3 开发组件三部曲(Trilogy of Component Development)
开发展现层Development of View
HTML标记 (HTML Tags)
JavaScript 方法(JavaScript Methods)
句柄的开发(Development of Handle)
配置(Configuration)
2. 句柄Handle
主要的实现(Skeletal Implementations)
org.zkoss.zk.ui.AbstractComponent 类
与客户端交互的方法集(Utilities to Communicate with the Client)
生成展现层的方法(Utilities to Generate the View)
额外控制(Extra Controls)
org.zkoss.zk.ui.HtmlBasedComponent 类
生成页面的方法Utilities to Generate the View
org.zkoss.zul.impl.XulElement 类
生成页面的方法Utilities to Generate the View
与客户端的交互Communication with the Client
客户端的回复Response to the Client
Invalidates方法
Smart Updates方法
AU Responses方法
发送到客户端的请求(Request to the Server)
命令(Command)
事件(Event)
各式各样诸多的特性(Miscellaneous Features)
Drag-and-Drop, Tooltip 和Context Menu
Click, Right Click and Double Click
3.展现层
HTML标记(HTML tags)
渲染中获取组件(Retrieve Component Being Rendered)
DSP文件的位置(DSP File Location)
组件渲染器(Component Renderer)
JavaScript 代码
组件类型(Component Type)
JavaScript 文件的位置(JavaScript File Location)
初始化和清除(Initialization and Cleanup)
初始化(Initialization)
清除(Cleanup)
事件处理(Event Handling)
与服务器端的交互(Communicate with the Server)
JavaScript 方法 (JavaScript Utilities)