Interface GridFormatter


public interface GridFormatter
Turns the values of a GridColumn into the text a cell shows, and the text typed into an editor back into a value.
  • Method Summary

    Modifier and Type
    Method
    Description
    format(Object value)
    The text value is shown as; never null.
    parse(String text, Object previous)
    The value text stands for, given the value the cell held before.
  • Method Details

    • format

      String format(Object value)
      The text value is shown as; never null.
    • parse

      Object parse(String text, Object previous)

      The value text stands for, given the value the cell held before.

      Returns

      the new value, or previous when the text cannot be read