com.smartgwt.client.data
Interface SimpleTypeParser
public interface SimpleTypeParser
Parser for edited values of a SimpleType.
- See Also:
SimpleType.setEditParser(SimpleTypeParser)
parseInput
java.lang.Object parseInput(java.lang.String value,
DataClass field,
DataBoundComponent component,
Record record)
- The callback for parsing.
- Parameters:
value - the edited valuefield - field descriptor from the component calling the parser depending on the calling component, if applicable.component - component calling this formatter, if applicablerecord - the record instance, if applicable
- Returns:
- the data value derived from the edited string value