public class TabboxSelectedTabConverter extends Object implements Converter, Serializable
IGNORED_VALUE
Constructor and Description |
---|
TabboxSelectedTabConverter() |
Modifier and Type | Method and Description |
---|---|
Object |
coerceToBean(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx)
Coerces a value to bean value to save to a bean
|
Object |
coerceToUi(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx)
Coerces a value to another value to load to a component
|
public Object coerceToUi(Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)
Converter
coerceToUi
in interface Converter
val
- the bean valuecomp
- the component to be loaded the valuectx
- the bind contextpublic Object coerceToBean(Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)
Converter
coerceToBean
in interface Converter
val
- the value of component attribute.comp
- the component provides the valuectx
- the bind contextCopyright © 2016. All rights reserved.