public abstract class AbstractSelectedIndexConverter<C extends org.zkoss.zk.ui.Component> extends Object implements Converter<Object,Object,C>, Serializable
IGNORED_VALUE| Constructor and Description |
|---|
AbstractSelectedIndexConverter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
coerceToBean(Object val,
C comp,
BindContext ctx)
Coerces a value to bean value to save to a bean
|
Object |
coerceToUi(Object val,
C comp,
BindContext ctx)
Coerces a value to another value to load to a component
|
protected abstract org.zkoss.zul.ListModel<?> |
getComponentModel(C comp) |
public Object coerceToUi(Object val, C comp, BindContext ctx)
ConvertercoerceToUi in interface Converter<Object,Object,C extends org.zkoss.zk.ui.Component>val - the bean valuecomp - the component to be loaded the valuectx - the bind contextprotected abstract org.zkoss.zul.ListModel<?> getComponentModel(C comp)
public Object coerceToBean(Object val, C comp, BindContext ctx)
ConvertercoerceToBean in interface Converter<Object,Object,C extends org.zkoss.zk.ui.Component>val - the value of component attribute.comp - the component provides the valuectx - the bind contextCopyright © 2020. All rights reserved.