Package org.zkoss.zk.ui.sys
Interface PropertiesRenderer
-
- All Known Implementing Classes:
BinderPropertiesRenderer
,BinderPropertiesRenderer
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 (orConfiguration.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
renderProperties(Component comp, ContentRenderer render)
Renders additional properties of the given component with the givenContentRenderer
.
-
-
-
Method Detail
-
renderProperties
void renderProperties(Component comp, ContentRenderer render) throws java.io.IOException
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:
java.io.IOException
-
-