org.zkoss.zkplus.databind
Class RadiogroupSelectedItemConverter

java.lang.Object
  extended by org.zkoss.zkplus.databind.RadiogroupSelectedItemConverter
All Implemented Interfaces:
java.io.Serializable, TypeConverter

Deprecated. As of release 7.0.0, replace with new ZK binding.

public class RadiogroupSelectedItemConverter
extends java.lang.Object
implements TypeConverter, java.io.Serializable

Convert Radiogroup selected item to radio value and vice versa.

Author:
Henri
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.zkoss.zkplus.databind.TypeConverter
IGNORE
 
Constructor Summary
RadiogroupSelectedItemConverter()
          Deprecated.  
 
Method Summary
 java.lang.Object coerceToBean(java.lang.Object val, Component comp)
          Deprecated. Convert an value object to bean property type.
 java.lang.Object coerceToUi(java.lang.Object val, Component comp)
          Deprecated. Convert an value object to UI component attribute type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadiogroupSelectedItemConverter

public RadiogroupSelectedItemConverter()
Deprecated. 
Method Detail

coerceToUi

public java.lang.Object coerceToUi(java.lang.Object val,
                                   Component comp)
Deprecated. 
Description copied from interface: TypeConverter
Convert an value object to UI component attribute type.

Specified by:
coerceToUi in interface TypeConverter
Parameters:
val - the object to be coerced to UI component attribute type.
comp - associated component
Returns:
the converted value suitable for assigning into UI component attribute; or TypeConverter.IGNORE if you want DataBinder to ignore the assignment.

coerceToBean

public java.lang.Object coerceToBean(java.lang.Object val,
                                     Component comp)
Deprecated. 
Description copied from interface: TypeConverter
Convert an value object to bean property type.

Specified by:
coerceToBean in interface TypeConverter
Parameters:
val - the object to be coerced to backend bean property type.
comp - associated component
Returns:
the converted value suitable for assigning into backend bean property; or TypeConverter.IGNORE if you want DataBinder to ignore the assignment.


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo