Class FileSizeCellFormatter

java.lang.Object
com.logicaldoc.gui.common.client.formatters.FileSizeCellFormatter
All Implemented Interfaces:
com.smartgwt.client.widgets.grid.CellFormatter

public class FileSizeCellFormatter extends Object implements com.smartgwt.client.widgets.grid.CellFormatter
Utility formatter for those cells that contains file sizes
Since:
6.0
Author:
Marco Meschieri - LogicalDOC
  • Constructor Details

    • FileSizeCellFormatter

      public FileSizeCellFormatter()
    • FileSizeCellFormatter

      public FileSizeCellFormatter(boolean win7format)
  • Method Details

    • format

      public String format(Object value, com.smartgwt.client.widgets.grid.ListGridRecord rec, int rowNum, int colNum)
      Specified by:
      format in interface com.smartgwt.client.widgets.grid.CellFormatter