Package org.zkoss.zk.ui.sys
Interface PropertiesRenderer
public interface PropertiesRenderer
A renderer used to render custom properties for particular components.
It is a listener (a.k.a., a plugin) that an application can register
in zk.xml (or
Configuration.addListener(java.lang.Class<?>)),
and then used to customize component's behaviors.
The properties generated by renderProperties(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.sys.ContentRenderer) will be part of
the content sent to the client. It usually requires the client-side code
to handle these properties.
- Since:
- 5.0.7
- Author:
- tomyeh
-
Method Summary
Modifier and TypeMethodDescriptionvoidrenderProperties(Component comp, ContentRenderer render) Renders additional properties of the given component with the givenContentRenderer.
-
Method Details
-
renderProperties
Renders additional properties of the given component with the givenContentRenderer. If the generated properties have the same as the component's default properties, they will be both sent to the client and the default one will be evaluated first, and then the custom properties.- Throws:
IOException
-