Serializable, TableModelpublic class RowHeaderTableModel extends AbstractTableModel
listenerList| 构造器 | 说明 |
|---|---|
RowHeaderTableModel(int rowCount) |
Constructor
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
int |
getColumnCount() |
|
String |
getColumnName(int col) |
|
int |
getRowCount() |
|
Object |
getValueAt(int rowIndex,
int columnIndex) |
|
boolean |
isCellEditable(int row,
int column) |
|
void |
setRowCount(int rowCount) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAtpublic RowHeaderTableModel(int rowCount)
rowCount - Row countpublic int getRowCount()
public int getColumnCount()
public Object getValueAt(int rowIndex, int columnIndex)
public String getColumnName(int col)
getColumnName 在接口中 TableModelgetColumnName 在类中 AbstractTableModelpublic boolean isCellEditable(int row,
int column)
isCellEditable 在接口中 TableModelisCellEditable 在类中 AbstractTableModelpublic void setRowCount(int rowCount)
Copyright © 2019. All rights reserved.