Class FileColumn


public class FileColumn extends GenericColumn
A table column containing files
Version:
$Id: FileColumn.java,v 1.5 2008/04/02 11:22:14 benoitx Exp $
Author:
Richard Cyganiak invalid input: '<'rcyg@gmx.de>
  • Constructor Details

    • FileColumn

      public FileColumn()
      Creates a new directory column
  • Method Details

    • renderCell

      public void renderCell(int rowIndex, TableCellRenderer renderer)
      Description copied from class: Column
      Renders a row of the column into a TableCellRenderer by calling one of its TableCellRenderer.renderCell(String) methods
      Specified by:
      renderCell in class GenericColumn
      Parameters:
      rowIndex - the row number, starting at 0
      renderer - the TableCellRenderer to use
      See Also:
    • setWithIcon

      public void setWithIcon(boolean withIcon)
      Specifies if each cell should be rendered with an icon representing the file
      Parameters:
      withIcon - render with icon?
    • setWebRepository

      public void setWebRepository(WebRepositoryIntegration webRepository)
      Setting a WebRepository turns filenames into links to that file.