it.amattioli.guidate.properties
Class InputPropertyComposer
java.lang.Object
org.zkoss.zk.ui.event.GenericEventListener
org.zkoss.zk.ui.util.GenericComposer
it.amattioli.guidate.properties.PropertyComposer
it.amattioli.guidate.properties.InputPropertyComposer
- All Implemented Interfaces:
- Serializable, org.zkoss.zk.scripting.NamespaceActivationListener, org.zkoss.zk.ui.event.EventListener, org.zkoss.zk.ui.util.Composer, org.zkoss.zk.ui.util.ComposerExt
- Direct Known Subclasses:
- DatePropertyComposer, DecimalPropertyComposer, IntPropertyComposer, LongPropertyComposer, NumericRangePropertyComposer, TextPropertyComposer, TimeIntervalPropertyComposer
public class InputPropertyComposer
- extends PropertyComposer
A composer that binds the "value" attribute of an Input component
to the property of a back-bean in a two-ways mode.
Not only the component attribute is updated every time the property
of the back-bean changes but the back-bean property value is updated
when the Input component loose focus.
- Author:
- andrea
- See Also:
- Serialized Form
| Methods inherited from class it.amattioli.guidate.properties.PropertyComposer |
doAfterCompose, getBackBean, getCompletePropertyName, getConverter, getPropertyClass, getPropertyName, getPropertyValue, onBindingUpdate, registerPropertyChangeListener, setComponentValue, setConverter, setPropertyClass, setPropertyName |
| 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 |
InputPropertyComposer
public InputPropertyComposer()
InputPropertyComposer
public InputPropertyComposer(String propertyName)
setParameterValidator
protected void setParameterValidator(org.zkoss.zk.ui.Component comp)
onCreate
public void onCreate(org.zkoss.zk.ui.event.Event evt)
throws Exception
- Overrides:
onCreate in class PropertyComposer
- Throws:
Exception
onBlur
public void onBlur(org.zkoss.zk.ui.event.Event evt)
throws Exception
- Throws:
Exception
onValidateElement
public void onValidateElement(org.zkoss.zk.ui.event.Event evt)
getComponentValueAttribute
protected String getComponentValueAttribute(org.zkoss.zk.ui.Component comp)
- Specified by:
getComponentValueAttribute in class PropertyComposer
Copyright © 2011. All Rights Reserved.