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, setValueAt
public SurveyScaleDemoTableModel()
public int getColumnCount()
public String getColumnName(int index)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
index
- 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 © 2017 Hitachi Vantara. All rights reserved.