org.zkoss.zkplus.databind
Class SelectedComboitemConverter
java.lang.Object
org.zkoss.zkplus.databind.SelectedComboitemConverter
- All Implemented Interfaces:
- Serializable, TypeConverter
Deprecated. As of release 7.0.0, replace with new ZK binding.
public class SelectedComboitemConverter
- extends Object
- implements TypeConverter, Serializable
Convert the selected item of combobox to bean.
- Since:
- 3.0.2
- Author:
- jumperchen
- See Also:
- Serialized Form
|
Method Summary |
Object |
coerceToBean(Object val,
org.zkoss.zk.ui.Component comp)
Deprecated. Convert an value object to bean property type. |
Object |
coerceToUi(Object val,
org.zkoss.zk.ui.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 |
SelectedComboitemConverter
public SelectedComboitemConverter()
- Deprecated.
coerceToBean
public Object coerceToBean(Object val,
org.zkoss.zk.ui.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. - Since:
- 3.0.2
coerceToUi
public Object coerceToUi(Object val,
org.zkoss.zk.ui.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. - Since:
- 3.0.2
Copyright © 2014. All rights reserved.