public class ParametersTable
extends javax.swing.table.AbstractTableModel
Constructor and Description |
---|
ParametersTable(Parameters params,
javax.swing.JDialog parentDialog)
EDUCATIONAL KEEL ****************************
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount()
Gets the number of columns
|
java.lang.String |
getColumnName(int col)
Get the specified column's name
|
boolean |
getOutOfRange()
EDUCATIONAL KEEL ****************************
|
int |
getRowCount()
Gets the number of rows (i.e. the number of visible parameters)
|
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Returns the value of the parameter especified
|
boolean |
isCellEditable(int row,
int col)
Check if the cell is editable
|
void |
setValueAt(java.lang.Object value,
int rowIndex,
int col)
Sets the value of the cell
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
public ParametersTable(Parameters params, javax.swing.JDialog parentDialog)
public boolean getOutOfRange()
public int getRowCount()
public int getColumnCount()
public java.lang.String getColumnName(int col)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
col
- the index of the columnpublic java.lang.Object getValueAt(int rowIndex, int columnIndex)
rowIndex
- The row (i.e. the number of the paramter)columnIndex
- The column we want to retrievepublic boolean isCellEditable(int row, int col)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
row
- The row of the cellcol
- The column index of the cellpublic void setValueAt(java.lang.Object value, int rowIndex, int col)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.AbstractTableModel
value
- the new valuerowIndex
- the index of the rowcol
- the index of the column