public class CounterTableModel
extends javax.swing.table.AbstractTableModel
Constructor and Description |
---|
CounterTableModel() |
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount() |
Counter |
getCounter() |
int |
getRowCount() |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isShowIndex() |
boolean |
isSorting() |
void |
rebuild() |
void |
setCounter(Counter counter) |
void |
setShowIndex(boolean showIndex) |
void |
setSorting(boolean sorting) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
public Counter getCounter()
public void setCounter(Counter counter)
public boolean isShowIndex()
public void setShowIndex(boolean showIndex)
public void rebuild()
public int getRowCount()
TableModel.getRowCount()
public int getColumnCount()
TableModel.getColumnCount()
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
TableModel.getValueAt(int, int)
public boolean isSorting()
public void setSorting(boolean sorting)
sorting
- the sorting to set