Class 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 Detail

      • FileSizeCellFormatter

        public FileSizeCellFormatter()
      • FileSizeCellFormatter

        public FileSizeCellFormatter​(boolean win7format)
    • Method Detail

      • format

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