com.smartgwt.client.data
Interface SimpleTypeFormatter
public interface SimpleTypeFormatter
Formatter for values of a SimpleType.
- See Also:
SimpleType.setNormalDisplayFormatter(SimpleTypeFormatter),
SimpleType.setShortDisplayFormatter(SimpleTypeFormatter)
format
String format(Object value,
DataClass field,
DataBoundComponent component,
Record record)
- The callback for formatting.
- Parameters:
value - the value to be formattedfield - field descriptor from the component calling the formatter depending on the calling component, if applicable.component - component calling this formatter, if applicablerecord - the record instance, if applicable
- Returns:
- the formatted value