Package org.zkoss.zats.mimic.operation
Interface RenderAgent
- All Superinterfaces:
Agent,OperationAgent
To render a child components of a data component that is not rendered yet. Listbox and Grid supports this operation.
Because of ZK will not render all sub-items at first, it just pre-loads first few items. Until a user scrolls the scroll bar down, it loads and renders subsequent items. You will retrieve an invalid child component before it's rendered. Hence if you want to manipulate a not-rendered child component, you have to render it first.
- Author:
- dennis
-
Method Summary
Modifier and TypeMethodDescriptionvoidrender(int start, int end) Render the sub-item from index "start" to "end".Methods inherited from interface org.zkoss.zats.mimic.Agent
getClient, getDelegatee
-
Method Details
-
render
void render(int start, int end) Render the sub-item from index "start" to "end".- Parameters:
start- the start index(zero-base, included) of sub-item to render, -1 means from 0end- the end index(zero-base, exclusive) of sub-item to render, -1 means to end of the sub-items
-