Using custom-attributes as specified by PropertyNameRetriever
Subclasses must define the getComponentValueAttribute(Component)
method to provide the name of the attribute of the component that is bound.
- Author:
- andrea
- See Also:
- Serialized Form
| Methods inherited from class org.zkoss.zk.ui.util.GenericComposer |
didActivate, doBeforeCompose, doBeforeComposeChildren, doCatch, doFinally, willPassivate |
| Methods inherited from class org.zkoss.zk.ui.event.GenericEventListener |
bindComponent, getController, onEvent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyComposer
public PropertyComposer()
getComponentValueAttribute
protected abstract String getComponentValueAttribute(org.zkoss.zk.ui.Component comp)
doAfterCompose
public void doAfterCompose(org.zkoss.zk.ui.Component comp)
throws Exception
- Specified by:
doAfterCompose in interface org.zkoss.zk.ui.util.Composer- Overrides:
doAfterCompose in class org.zkoss.zk.ui.util.GenericComposer
- Throws:
Exception
registerPropertyChangeListener
protected void registerPropertyChangeListener(org.zkoss.zk.ui.Component comp)
getPropertyClass
protected Class<?> getPropertyClass()
setPropertyClass
protected void setPropertyClass(Class<?> propertyClass)
getPropertyName
public String getPropertyName()
setPropertyName
public void setPropertyName(String propertyName)
getBackBean
public Object getBackBean(org.zkoss.zk.ui.Component comp)
getConverter
protected org.zkoss.zkplus.databind.TypeConverter getConverter(org.zkoss.zk.ui.Component comp)
setConverter
protected void setConverter(org.zkoss.zkplus.databind.TypeConverter converter)
getCompletePropertyName
protected String getCompletePropertyName(org.zkoss.zk.ui.Component comp)
onBindingUpdate
public void onBindingUpdate(org.zkoss.zk.ui.event.Event evt)
throws Exception
- Throws:
Exception
setComponentValue
protected void setComponentValue(org.zkoss.zk.ui.Component comp,
Object val)
throws Exception
- Throws:
Exception
getPropertyValue
protected Object getPropertyValue(org.zkoss.zk.ui.Component comp)
throws Exception
- Throws:
Exception
onCreate
public void onCreate(org.zkoss.zk.ui.event.Event evt)
throws Exception
- Throws:
Exception
Copyright © 2011. All Rights Reserved.