public class FormatedNumberConverter extends Object implements Converter, Serializable
IGNORED_VALUE| Constructor and Description |
|---|
FormatedNumberConverter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
coerceToBean(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx)
Convert String to Number.
|
Object |
coerceToUi(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx)
Convert Number to String.
|
public Object coerceToUi(Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)
coerceToUi in interface Converterval - number to be convertedcomp - associated componentctx - bind context for associate Binding and extra parameter (e.g. format)public Object coerceToBean(Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)
coerceToBean in interface Converterval - number in string formcomp - associated componentctx - bind context for associate Binding and extra parameter (e.g. format)Copyright © 2020. All rights reserved.