public class GridTableModel
extends javax.swing.table.AbstractTableModel
Constructor and Description |
---|
GridTableModel(GridData griddata,
int component) |
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount()
Gets the number of columns.
|
java.lang.String |
getColumnName(int c)
Gets the number of columns.
|
int |
getRowCount()
Gets the number of rows.
|
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Gets the value at the given grid location.
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
public GridTableModel(GridData griddata, int component)
public int getColumnCount()
public java.lang.String getColumnName(int c)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public int getRowCount()
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
rowIndex
- intcolumnIndex
- int