| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Objectjavax.swing.table.AbstractTableModel
TechnicalRegistriesTableModel
public class TechnicalRegistriesTableModel
The TechnicalRegistriesTableModel class is responsible for specifying the methods that TechnicalRegistriesTable in the TechnicalRegistriesListDialog will use to interrogate a tabular data model
| Field Summary | 
|---|
| Fields inherited from class javax.swing.table.AbstractTableModel | 
|---|
| listenerList | 
| Constructor Summary | |
|---|---|
| TechnicalRegistriesTableModel(Object[][] content,
                              int rows)Default constructor for TechnicalRegistriesTableModel | |
| Method Summary | |
|---|---|
|  Class | getColumnClass(int column)This method returns the class type of a specific column in TechnicalRegistriesTable | 
|  int | getColumnCount()This method returns the number of existing columns in TechnicalRegistriesTable | 
|  String | getColumnName(int column)This method provides the title of each column in TechnicalRegistriesTable | 
|  int | getRowCount()This method returns the number of existing rows in TechnicalRegistriesTable | 
|  Object | getValueAt(int row,
           int column)This method returns the value of a specific cell in TechnicalRegistriesTable | 
|  boolean | isCellEditable(int row,
               int col)This method defines the editability of each cell in TechnicalRegistriesTable | 
|  void | setValueAt(Object aValue,
           int row,
           int column)This method enables to set the value in a specific cell in TechnicalRegistriesTable | 
| Methods inherited from class javax.swing.table.AbstractTableModel | 
|---|
| addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener | 
| Methods inherited from class Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public TechnicalRegistriesTableModel(Object[][] content,
                                     int rows)
content - instance of 2D Object Arraycols - instance of int| Method Detail | 
|---|
public int getColumnCount()
public int getRowCount()
public boolean isCellEditable(int row,
                              int col)
isCellEditable in interface javax.swing.table.TableModelisCellEditable in class javax.swing.table.AbstractTableModelrow - instance of intcol - instance of intpublic String getColumnName(int column)
getColumnName in interface javax.swing.table.TableModelgetColumnName in class javax.swing.table.AbstractTableModelcolumn - instance of int
public Object getValueAt(int row,
                         int column)
row - instance of intcolumn - instance of intpublic Class getColumnClass(int column)
getColumnClass in interface javax.swing.table.TableModelgetColumnClass in class javax.swing.table.AbstractTableModelcolumn - instance of int
public void setValueAt(Object aValue,
                       int row,
                       int column)
setValueAt in interface javax.swing.table.TableModelsetValueAt in class javax.swing.table.AbstractTableModelaValue - instance of Objectrow - instance of intcolumn - instance of int| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||