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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `format(java.lang.Object value, DataClass field, DataBoundComponent component, Record record)` The callback for formatting.

- - ### Method Detail

    - #### format

          java.lang.String format(java.lang.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