public static interface ItsNatFormattedTextField.ItsNatFormatter
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
stringToValue(java.lang.String text,
ItsNatFormattedTextField comp)
Converts the specified
String to an Object using some kind of conversion rules. |
java.lang.String |
valueToString(java.lang.Object value,
ItsNatFormattedTextField comp)
Converts the specified
Object to String using some kind of conversion rules. |
java.lang.Object stringToValue(java.lang.String text, ItsNatFormattedTextField comp) throws java.text.ParseException
String
to an Object
using some kind of conversion rules.text
- the string to convert.comp
- the component using this formatter.java.text.ParseException
- the text can not be converted.java.lang.String valueToString(java.lang.Object value, ItsNatFormattedTextField comp) throws java.text.ParseException
Object
to String
using some kind of conversion rules.value
- the value to convert.comp
- the component using this formatter.java.text.ParseException
- the object value can not be converted.Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.