com.smartgwt.client.data
Interface SimpleTypeParser


public interface SimpleTypeParser

Parser for edited values of a SimpleType.

See Also:
SimpleType.setEditParser(SimpleTypeParser)

Method Summary
 java.lang.Object parseInput(java.lang.String value, DataClass field, DataBoundComponent component, Record record)
          The callback for parsing.
 

Method Detail

parseInput

java.lang.Object parseInput(java.lang.String value,
                            DataClass field,
                            DataBoundComponent component,
                            Record record)
The callback for parsing.

Parameters:
value - the edited value
field - field descriptor from the component calling the parser depending on the calling component, if applicable.
component - component calling this formatter, if applicable
record - the record instance, if applicable
Returns:
the data value derived from the edited string value