public class ImageContentConverter extends Object implements Serializable, Converter<Object,Object,org.zkoss.zul.Image>
IGNORED_VALUE| Constructor and Description |
|---|
ImageContentConverter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
coerceToBean(Object compAttr,
org.zkoss.zul.Image imgComp,
BindContext ctx)
Coerces a value to bean value to save to a bean
|
Object |
coerceToUi(Object beanProp,
org.zkoss.zul.Image imgComp,
BindContext ctx)
Coerces a value to another value to load to a component
|
public Object coerceToUi(Object beanProp, org.zkoss.zul.Image imgComp, BindContext ctx)
ConvertercoerceToUi in interface Converter<Object,Object,org.zkoss.zul.Image>beanProp - the bean valueimgComp - the component to be loaded the valuectx - the bind contextpublic Object coerceToBean(Object compAttr, org.zkoss.zul.Image imgComp, BindContext ctx)
ConvertercoerceToBean in interface Converter<Object,Object,org.zkoss.zul.Image>compAttr - the value of component attribute.imgComp - the component provides the valuectx - the bind contextCopyright © 2020. All rights reserved.