Class SearchFilesTableModel

java.lang.Object
javax.swing.table.AbstractTableModel
javax.swing.table.DefaultTableModel
be.gaudry.swing.file.finder.utils.SearchFilesTableModel
All Implemented Interfaces:
IClearable, IFileTableModel, Serializable, TableModel

public class SearchFilesTableModel extends DefaultTableModel implements IClearable, IFileTableModel
Since:
1.0 Jun 23, 2008
Author:
Steph GAUDRY
See Also:
Serialized Form
  • Constructor Details

    • SearchFilesTableModel

      public SearchFilesTableModel()
  • Method Details

    • clear

      public void clear()
      Description copied from interface: IClearable
      The expected behavior of the implementation is to put the informations into an uninitialized state. See the implementation to know the fields affected by this method.
      Specified by:
      clear in interface IClearable
    • getFiles

      public List<File> getFiles(boolean selectedOnly)
      Specified by:
      getFiles in interface IFileTableModel
    • getFileAt

      public File getFileAt(int row)
      Specified by:
      getFileAt in interface IFileTableModel
      Parameters:
      row -
      Returns:
      File at the given row, or null
      Since:
      1.1.3-SNAPSHOT (Mar 7, 2009)
    • getColumnClass

      public Class<?> getColumnClass(int columnIndex)
      Specified by:
      getColumnClass in interface TableModel
      Overrides:
      getColumnClass in class AbstractTableModel