base.jdbs.ui
Class FileTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by base.jdbs.ui.FileTableModel
All Implemented Interfaces:
java.io.Serializable, java.util.Observer, javax.swing.table.TableModel

public class FileTableModel
extends javax.swing.table.AbstractTableModel
implements java.util.Observer

See Also:
Serialized Form

Field Summary
static int FILE_ABSOLUTE_PATH_COLUMN
           
static int FILE_NAME_COLUMN
           
static int FILE_SIZE_COLUMN
           
static int FILE_TYPE_COLUMN
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
FileTableModel(Backup backup)
           
 
Method Summary
 java.lang.Class getColumnClass(int column)
           
 int getColumnCount()
           
 java.lang.String getColumnName(int column)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int column)
           
 void update(java.util.Observable arg0, java.lang.Object arg1)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_ABSOLUTE_PATH_COLUMN

public static final int FILE_ABSOLUTE_PATH_COLUMN
See Also:
Constant Field Values

FILE_NAME_COLUMN

public static final int FILE_NAME_COLUMN
See Also:
Constant Field Values

FILE_TYPE_COLUMN

public static final int FILE_TYPE_COLUMN
See Also:
Constant Field Values

FILE_SIZE_COLUMN

public static final int FILE_SIZE_COLUMN
See Also:
Constant Field Values
Constructor Detail

FileTableModel

public FileTableModel(Backup backup)
Method Detail

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface javax.swing.table.TableModel

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface javax.swing.table.TableModel

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

getValueAt

public java.lang.Object getValueAt(int row,
                                   int column)
Specified by:
getValueAt in interface javax.swing.table.TableModel

getColumnClass

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

update

public void update(java.util.Observable arg0,
                   java.lang.Object arg1)
Specified by:
update in interface java.util.Observer


Copyright © 2006 SF.net. All Rights Reserved.