ch.braincell.stickbackup.gui.table
Class FileTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by ch.braincell.stickbackup.gui.table.FileTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class FileTableModel
extends javax.swing.table.AbstractTableModel

See Also:
Serialized Form

Nested Class Summary
 class FileTableModel.FileRow
           
 
Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
FileTableModel()
           
 
Method Summary
 void addFiles(java.io.File source, java.io.File backup)
           
 void clear(java.lang.String sourceColumnName, java.lang.String backupColumnName)
           
 int getColumnCount()
           
 java.lang.String getColumnName(int column)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int rowIndex, int columnIndex)
           
 void setFinishedColor(java.io.File file)
           
 void setWorkingColor(java.io.File file)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileTableModel

public FileTableModel()
Method Detail

getColumnCount

public int getColumnCount()

getColumnName

public java.lang.String getColumnName(int column)
Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel

getRowCount

public int getRowCount()

getValueAt

public java.lang.Object getValueAt(int rowIndex,
                                   int columnIndex)

addFiles

public void addFiles(java.io.File source,
                     java.io.File backup)

setWorkingColor

public void setWorkingColor(java.io.File file)

setFinishedColor

public void setFinishedColor(java.io.File file)

clear

public void clear(java.lang.String sourceColumnName,
                  java.lang.String backupColumnName)


Copyright © 2007. All Rights Reserved.