public class SurveyScaleDemoTableModel extends AbstractTableModel
listenerList| Constructor and Description |
|---|
SurveyScaleDemoTableModel()
Creates a new table model.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnCount()
Returns the number of columns.
|
String |
getColumnName(int index)
Returns the name of a column.
|
int |
getRowCount()
Returns the row count.
|
Object |
getValueAt(int row,
int column)
Returns an item for the table.
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtpublic SurveyScaleDemoTableModel()
public int getColumnCount()
public String getColumnName(int index)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelindex - the column index.public int getRowCount()
public Object getValueAt(int row, int column)
row - the row index (zero-based).column - the column index (zero-based).Copyright © 2018 Hitachi Vantara. All rights reserved.