RendererCtrl"

From Documentation
m
m ((via JWB))
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{ZKComponentReferencePageHeader}}
 
{{ZKComponentReferencePageHeader}}
  
= (Your Component Name) =
+
= RendererCtrl =
  
*Demonstration: N/A or link
+
*Demonstration: N/A
*Java API: <javadoc>org.zkoss.zul.XXX</javadoc>
+
*Java API: <javadoc>org.zkoss.zul.RendererCtrl</javadoc>
*JavaScript API: <javadoc directory="jsdoc">zul.YYY.XXX</javadoc>
+
*JavaScript API: N/A
  
 
= Employment/Purpose =
 
= Employment/Purpose =
  
Space is a Separator with the orient default to "horizontal".
+
This interface defines the methods components like Listbox used to notify the renderer for several circumstance.
 
 
In other words, <space> is equivalent to <separator orient="horizontal">
 
  
 +
Though <code>ListitemRenderer.render(org.zkoss.zul.Listitem, java.lang.Object)</code> is called one item a timer, a request might have several items to render. And, if the renderer implements this interface, <code>doTry()</code> will be called before any rendering, and <code>doFinally() </code>will be called after all rendering. If any exception occurs, <code>doCatch(java.lang.Throwable)</code> will be called.
  
 +
A typical use is to start a transaction and use it for rendering all items from the same request.
  
 
= Example =
 
= Example =
Line 23: Line 23:
 
=Supported events=
 
=Supported events=
  
{| border="1" | width="100%"
+
{| class='wikitable' | width="100%"
 
! <center>Name</center>
 
! <center>Name</center>
 
! <center>Event Type</center>
 
! <center>Event Type</center>
Line 33: Line 33:
 
=Supported Children=
 
=Supported Children=
  
  *ALL
+
  *N/A
  
 
=Use cases=
 
=Use cases=
  
{| border='1px' | width="100%"
+
{| class='wikitable' | width="100%"
 
! Version !! Description !! Example Location
 
! Version !! Description !! Example Location
 
|-
 
|-
Line 47: Line 47:
 
=Version History=
 
=Version History=
  
{| border='1px' | width="100%"
+
{| class='wikitable' | width="100%"
 
! Version !! Date !! Content
 
! Version !! Date !! Content
 
|-
 
|-
| 5.0.2
+
| &nbsp;
| 5/19/2010
+
| &nbsp;
| Initialization
+
| &nbsp;
 
|}
 
|}
  
 
{{ZKComponentReferencePageFooter}}
 
{{ZKComponentReferencePageFooter}}

Latest revision as of 14:09, 12 January 2022

RendererCtrl

  • Demonstration: N/A
  • Java API: RendererCtrl
  • JavaScript API: N/A

Employment/Purpose

This interface defines the methods components like Listbox used to notify the renderer for several circumstance.

Though ListitemRenderer.render(org.zkoss.zul.Listitem, java.lang.Object) is called one item a timer, a request might have several items to render. And, if the renderer implements this interface, doTry() will be called before any rendering, and doFinally() will be called after all rendering. If any exception occurs, doCatch(java.lang.Throwable) will be called.

A typical use is to start a transaction and use it for rendering all items from the same request.

Example

Supported events

Name
Event Type
None None

Supported Children

*N/A

Use cases

Version Description Example Location
     

Version History

Version Date Content
     



Last Update : 2022/01/12

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.