Package com.smartgwt.client.data

# Interface SimpleTypeFormatter

public interface SimpleTypeFormatter
Formatter for values of a `SimpleType`.

See Also:
  - `SimpleType.setNormalDisplayFormatter(SimpleTypeFormatter)`
  - `SimpleType.setShortDisplayFormatter(SimpleTypeFormatter)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `format(Object value, DataClass field, DataBoundComponent component, Record record)`
  The callback for formatting.

- ## Method Details

  - ### format

    String format(Object value, DataClass field, DataBoundComponent component, Record record)
    The callback for formatting.
    Parameters:
      `value` - the value to be formatted
      `field` - field descriptor from the component calling the formatter depending on the calling component, if applicable.
      `component` - component calling this formatter, if applicable
      `record` - the record instance, if applicable
    Returns:
      the formatted value