org.openjump.core.ui.plugin.tools.statistics
Class StatisticOverViewTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.openjump.core.apitools.tables.StandardPirolTableModel
org.openjump.core.ui.plugin.tools.statistics.StatisticOverViewTableModel
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.table.TableModel
public class StatisticOverViewTableModel
- extends StandardPirolTableModel
Table model to show a quick, statistical overview for a layer (or selection)
- Version:
- $Rev: 2451 $
modified: [sstein] 16.Feb.2009
- Author:
- Ole Rahn
FH Osnabrück - University of Applied Sciences Osnabrück,
Project: PIROL (2005),
Subproject: Daten- und Wissensmanagement
- See Also:
- Serialized Form
| Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
|
Method Summary |
protected void |
addRow(java.lang.String attrName,
AttributeType type,
java.lang.Double minVal,
java.lang.Object mean,
java.lang.Double maxVal,
java.lang.Double deviation,
java.lang.Double sum)
|
java.lang.Class |
getColumnClass(int columnIndex)
|
boolean |
isCellEditable(int rowIndex,
int columnIndex)
|
protected void |
setupTable()
|
| Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
colClasses
protected java.lang.Class[] colClasses
features
protected Feature[] features
StatisticOverViewTableModel
public StatisticOverViewTableModel(Feature[] features)
setupTable
protected void setupTable()
addRow
protected void addRow(java.lang.String attrName,
AttributeType type,
java.lang.Double minVal,
java.lang.Object mean,
java.lang.Double maxVal,
java.lang.Double deviation,
java.lang.Double sum)
isCellEditable
public boolean isCellEditable(int rowIndex,
int columnIndex)
- Specified by:
isCellEditable in interface javax.swing.table.TableModel- Specified by:
isCellEditable in class StandardPirolTableModel
- Parameters:
rowIndex - row index for cellcolumnIndex - column index for cell
- Returns:
- always false, since we just want to show information
getColumnClass
public java.lang.Class getColumnClass(int columnIndex)
- Specified by:
getColumnClass in interface javax.swing.table.TableModel- Specified by:
getColumnClass in class StandardPirolTableModel