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:
Serializable,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
-
-
Field Summary
Fields Modifier and Type Field Description protected Class[]colClassesprotected Feature[]features-
Fields inherited from class org.openjump.core.apitools.tables.StandardPirolTableModel
colNames, rows
-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description StatisticOverViewTableModel(Feature[] features)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddRow(String attrName, AttributeType type, Double minVal, Object mean, Double maxVal, Double deviation, Double sum)ClassgetColumnClass(int columnIndex)booleanisCellEditable(int rowIndex, int columnIndex)protected voidsetupTable()-
Methods inherited from class org.openjump.core.apitools.tables.StandardPirolTableModel
addRow, clearTable, findColumn, getColNames, getColumnCount, getColumnName, getRowCount, getValueAt, setColNames, setValueAt
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
-
-
-
Constructor Detail
-
StatisticOverViewTableModel
public StatisticOverViewTableModel(Feature[] features)
-
-
Method Detail
-
setupTable
protected void setupTable()
-
addRow
protected void addRow(String attrName, AttributeType type, Double minVal, Object mean, Double maxVal, Double deviation, Double sum)
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex)- Specified by:
isCellEditablein interfaceTableModel- Specified by:
isCellEditablein classStandardPirolTableModel- Parameters:
rowIndex- row index for cellcolumnIndex- column index for cell- Returns:
- always false, since we just want to show information
-
getColumnClass
public Class getColumnClass(int columnIndex)
- Specified by:
getColumnClassin interfaceTableModel- Specified by:
getColumnClassin classStandardPirolTableModel
-
-