public class SumRowTableModel extends Object implements TableModel
| Modifier and Type | Field and Description |
|---|---|
protected TableSorter |
tableSorter |
| Constructor and Description |
|---|
SumRowTableModel(TableSorter tableSorter) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTableModelListener(TableModelListener l) |
int |
convertRowIndexToFilteredModel(int viewRowIndex) |
Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int columnIndex) |
int |
getRowCount() |
Number |
getSelectedColumnOperation(Object columnName,
int[] rowIndex) |
TableCellRenderer |
getSumCellRenderer(boolean currency) |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
removeTableModelListener(TableModelListener l) |
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex) |
protected TableSorter tableSorter
public SumRowTableModel(TableSorter tableSorter)
public int getRowCount()
getRowCount in interface TableModelpublic int getColumnCount()
getColumnCount in interface TableModelpublic String getColumnName(int columnIndex)
getColumnName in interface TableModelpublic Class<?> getColumnClass(int columnIndex)
getColumnClass in interface TableModelpublic boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface TableModelpublic Object getValueAt(int rowIndex, int columnIndex)
getValueAt in interface TableModelpublic void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt in interface TableModelpublic void addTableModelListener(TableModelListener l)
addTableModelListener in interface TableModelpublic void removeTableModelListener(TableModelListener l)
removeTableModelListener in interface TableModelpublic TableCellRenderer getSumCellRenderer(boolean currency)
public int convertRowIndexToFilteredModel(int viewRowIndex)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.