Class ListGridNumberFormatter

java.lang.Object
com.jbstrap.ui.components.listgrid.formatters.ListGridNumberFormatter
All Implemented Interfaces:
ListGridCellFormatter

public class ListGridNumberFormatter extends Object implements ListGridCellFormatter

Numeric formatter class for the ListGrid component

The class converts the specified numeric format to a text format.

Since:
4.0
Author:
JBStrap
  • Constructor Details

    • ListGridNumberFormatter

      public ListGridNumberFormatter()
  • Method Details

    • format

      public String format(Object data)
      Formats the value.
      Specified by:
      format in interface ListGridCellFormatter
      Parameters:
      data - The value to be formatted
      Returns:
      The text equivalent of the received value or an empty string if the received value is null