base.jdbs.ui
Class TransfersTableModel

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

public class TransfersTableModel
extends javax.swing.table.AbstractTableModel

See Also:
Serialized Form

Field Summary
static int TRANSFER_BACKUP_NAME_COLUMN
           
static int TRANSFER_BACKUP_SIZE_COLUMN
           
static int TRANSFER_COMPLETION_PERCENTAGE_COLUMN
           
static int TRANSFER_DESTINATION_PEER_COLUMN
           
static int TRANSFER_SOURCE_PEER_COLUMN
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
TransfersTableModel()
           
 
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)
           
 boolean isCellEditable(int row, int column)
           
 void setValueAt(java.lang.Object value, int row, int column)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRANSFER_SOURCE_PEER_COLUMN

public static final int TRANSFER_SOURCE_PEER_COLUMN
See Also:
Constant Field Values

TRANSFER_DESTINATION_PEER_COLUMN

public static final int TRANSFER_DESTINATION_PEER_COLUMN
See Also:
Constant Field Values

TRANSFER_BACKUP_SIZE_COLUMN

public static final int TRANSFER_BACKUP_SIZE_COLUMN
See Also:
Constant Field Values

TRANSFER_COMPLETION_PERCENTAGE_COLUMN

public static final int TRANSFER_COMPLETION_PERCENTAGE_COLUMN
See Also:
Constant Field Values

TRANSFER_BACKUP_NAME_COLUMN

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

TransfersTableModel

public TransfersTableModel()
Method Detail

getColumnCount

public int getColumnCount()

getRowCount

public int getRowCount()

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)

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

isCellEditable

public boolean isCellEditable(int row,
                              int column)
Specified by:
isCellEditable in interface javax.swing.table.TableModel
Overrides:
isCellEditable in class javax.swing.table.AbstractTableModel

setValueAt

public void setValueAt(java.lang.Object value,
                       int row,
                       int column)
Specified by:
setValueAt in interface javax.swing.table.TableModel
Overrides:
setValueAt in class javax.swing.table.AbstractTableModel


Copyright © 2006 SF.net. All Rights Reserved.