public static interface ItsNatFormattedTextField.ItsNatFormatter
| Modifier and Type | Method and Description |
|---|---|
Object |
stringToValue(String text,
ItsNatFormattedTextField comp)
Converts the specified
String to an Object using some kind of conversion rules. |
String |
valueToString(Object value,
ItsNatFormattedTextField comp)
Converts the specified
Object to String using some kind of conversion rules. |
Object stringToValue(String text, ItsNatFormattedTextField comp) throws ParseException
String to an Object using some kind of conversion rules.text - the string to convert.comp - the component using this formatter.ParseException - the text can not be converted.String valueToString(Object value, ItsNatFormattedTextField comp) throws ParseException
Object to String using some kind of conversion rules.value - the value to convert.comp - the component using this formatter.ParseException - the object value can not be converted.Copyright © Innowhere Software, Jose Maria Arranz Santamaria.