| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.swing.table.AbstractTableModel
dist1.acb.ACBpoint.PublishingTable
Purpose: It is used for publishing/ displaying the parti
| Field Summary | |
| static java.lang.String[] | colNames | 
| static java.lang.Class[] | colTypes | 
| static int | DESCRIPTION_COL | 
| static int | FILE_NAME_COL | 
| static int | PATH_COL | 
| static int | PRICE_COL | 
| static int | SIZE_COL | 
| Fields inherited from class javax.swing.table.AbstractTableModel | 
| listenerList | 
| Constructor Summary | |
| PublishingTable() | |
| PublishingTable(java.util.Vector mData)Creates a new instance of PublishingTable | |
| Method Summary | |
|  void | addElement(PublishingTableData 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 | 
public static final int PATH_COL
public static final int FILE_NAME_COL
public static final int PRICE_COL
public static final int DESCRIPTION_COL
public static final int SIZE_COL
public static final java.lang.String[] colNames
public static final java.lang.Class[] colTypes
| Constructor Detail | 
public PublishingTable(java.util.Vector mData)
public PublishingTable()
| Method Detail | 
public int getColumnCount()
getColumnCount in interface javax.swing.table.TableModelpublic int getRowCount()
getRowCount in interface javax.swing.table.TableModel
public void setValueAt(java.lang.Object value,
                       int row,
                       int col)
setValueAt in interface javax.swing.table.TableModelpublic java.lang.String getColumnName(int col)
getColumnName in interface javax.swing.table.TableModelpublic java.lang.Class getColumnClass(int col)
getColumnClass in interface javax.swing.table.TableModel
public java.lang.Object getValueAt(int row,
                                   int col)
getValueAt in interface javax.swing.table.TableModelpublic void addElement(PublishingTableData Data)
public java.util.Vector getData()
public boolean isCellEditable(int row,
                              int column)
isCellEditable in interface javax.swing.table.TableModel| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||