dist1.acb.ACBpoint
Class DownloadingTable

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended bydist1.acb.ACBpoint.DownloadingTable
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class DownloadingTable
extends javax.swing.table.AbstractTableModel

Purpose : Displays the Downloading Information in the

Author:
Lazar Adzigogov
See Also:
Serialized Form

Field Summary
static java.lang.String[] colNames
           
static java.lang.Class[] colTypes
           
static int DESCRIPTION_COL
           
static int FILE_NAME_COL
           
static int FLOW_RATE_CURRENT_COL
           
static int FLOW_RATE_OVERALL_COL
           
static int OWNER_COL
           
static int PROGRESS_COL
           
static int SIZE_COL
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
DownloadingTable()
           
DownloadingTable(java.util.Vector mData)
          Creates a new instance of PublishingTable
 
Method Summary
 void addElement(DownloadingTableData Data)
           
 java.lang.Class getColumnClass(int col)
           
 int getColumnCount()
          getColumnCount Number columns same as the column array length
 java.lang.String getColumnName(int col)
           
 java.util.Vector getData()
           
 int getRowCount()
          getRowCount Row count same as the size of data vector
 java.lang.Object getValueAt(int row, int col)
          getValueAt This function updates the JTable depending upon the data in the TableModel
 boolean isCellEditable(int row, int column)
           
 void setValueAt(java.lang.Object value, int row, int col)
          setValueAt This function updates the data in the TableModel depending upon the change in the JTable
 
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

FILE_NAME_COL

public static final int FILE_NAME_COL
See Also:
Constant Field Values

DESCRIPTION_COL

public static final int DESCRIPTION_COL
See Also:
Constant Field Values

SIZE_COL

public static final int SIZE_COL
See Also:
Constant Field Values

OWNER_COL

public static final int OWNER_COL
See Also:
Constant Field Values

PROGRESS_COL

public static final int PROGRESS_COL
See Also:
Constant Field Values

FLOW_RATE_CURRENT_COL

public static final int FLOW_RATE_CURRENT_COL
See Also:
Constant Field Values

FLOW_RATE_OVERALL_COL

public static final int FLOW_RATE_OVERALL_COL
See Also:
Constant Field Values

colNames

public static final java.lang.String[] colNames

colTypes

public static final java.lang.Class[] colTypes
Constructor Detail

DownloadingTable

public DownloadingTable(java.util.Vector mData)
Creates a new instance of PublishingTable


DownloadingTable

public DownloadingTable()
Method Detail

getColumnCount

public int getColumnCount()
getColumnCount Number columns same as the column array length


getRowCount

public int getRowCount()
getRowCount Row count same as the size of data vector


setValueAt

public void setValueAt(java.lang.Object value,
                       int row,
                       int col)
setValueAt This function updates the data in the TableModel depending upon the change in the JTable


getColumnName

public java.lang.String getColumnName(int col)

getColumnClass

public java.lang.Class getColumnClass(int col)

getValueAt

public java.lang.Object getValueAt(int row,
                                   int col)
getValueAt This function updates the JTable depending upon the data in the TableModel


addElement

public void addElement(DownloadingTableData Data)

getData

public java.util.Vector getData()

isCellEditable

public boolean isCellEditable(int row,
                              int column)


Copyright © 2004 Phoenix Team (CMU/AIT). All Rights Reserved.