Class TableViewFileSizeCellRenderer

    • Constructor Detail

      • TableViewFileSizeCellRenderer

        public TableViewFileSizeCellRenderer()
    • Method Detail

      • toString

        public java.lang.String toString​(java.lang.Object row,
                                         java.lang.String columnName)
        Description copied from interface: TableView.CellRenderer
        Converts table view cell data to a string representation.
        Specified by:
        toString in interface TableView.CellRenderer
        Overrides:
        toString in class TableViewCellRenderer
        Parameters:
        row - The row object.
        columnName - The name of the column.
        Returns:
        The cell data's string representation, or null if the data does not have a string representation.

        Note that this method may be called often during keyboard navigation, so implementations should avoid unnecessary string allocations.