org.zkoss.zkplus.databind
Class RadiogroupSelectedItemConverter

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

public class RadiogroupSelectedItemConverter
extends java.lang.Object
implements TypeConverter

Convert Radiogroup selected item to radio value and vice versa.

Author:
Henri

Constructor Summary
RadiogroupSelectedItemConverter()
           
 
Method Summary
 java.lang.Object coerceToBean(java.lang.Object val, org.zkoss.zk.ui.Component comp)
          Convert an value object to bean property type.
 java.lang.Object coerceToUi(java.lang.Object val, org.zkoss.zk.ui.Component comp)
          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()
Method Detail

coerceToUi

public java.lang.Object coerceToUi(java.lang.Object val,
                                   org.zkoss.zk.ui.Component comp)
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 corece to UI component attribute type.
comp - associated component

coerceToBean

public java.lang.Object coerceToBean(java.lang.Object val,
                                     org.zkoss.zk.ui.Component comp)
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 corece to backend bean property type.
comp - associated component


Copyright © 2005-2007 Potix Corporation. All Rights Reserved.