@Deprecated public class AggregationColumnTableModel extends AbstractAggregationTableModel<AggregationMethod,ColumnAggregator>
DefaultTableModel
holds all aggregation columns and their
aggregation method.AggregationColumnTableModel
,
Serialized FormlistenerList
Constructor and Description |
---|
AggregationColumnTableModel()
Deprecated.
Constructor for class AggregationColumnTableModel.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addColumn(DataColumnSpec... specs)
Deprecated.
|
ColumnAggregator |
getColumnAggregator(int row)
Deprecated.
|
List<ColumnAggregator> |
getColumnAggregators()
Deprecated.
|
Collection<Integer> |
getCompatibleRowIdxs(Class<? extends DataValue> type)
Deprecated.
|
Collection<Integer> |
getNotCompatibleRowIdxs(Class<? extends DoubleValue> type)
Deprecated.
|
protected Object |
getValueAtRow(int row,
int columnIndex)
Deprecated.
This method does only need to handle the none missing cell option columns
since the include/exclude missing cell column is handled by this
abstract class.
|
boolean |
isCompatible(int row,
Class<? extends DataValue> type)
Deprecated.
|
protected boolean |
isEditable(int row,
int columnIdx)
Deprecated.
This method does only need to handle the none missing cell option columns
since the include/exclude missing cell column is handled by this
abstract class.
|
protected void |
removeColumn(int... idxs)
Deprecated.
|
protected void |
removeColumns(Collection<String> colNames)
Deprecated.
|
protected void |
setAggregationMethod(int[] selectedRows,
AggregationMethod method)
Deprecated.
|
void |
setValue(Object aValue,
int row,
int columnIdx)
Deprecated.
The method is also responsible to call the appropriate table changed
method e.g.
|
add, containsRowWithSettings, containsSettingsOperator, getAggregationFunctionProvider, getColumnClass, getColumnCount, getColumnName, getMissingCellOptionColIdx, getRow, getRowCount, getRows, getSettingsButtonColIdx, getValueAt, initialize, isCellEditable, remove, remove, removeAll, setAggregationFunctionProvider, setValueAt, toggleMissingCellOption, toggleMissingCellOption, updateInclMissing, updateRow, updateRow
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTableModelListener, removeTableModelListener
public AggregationColumnTableModel()
public Collection<Integer> getCompatibleRowIdxs(Class<? extends DataValue> type)
type
- the type to check for compatibilitypublic Collection<Integer> getNotCompatibleRowIdxs(Class<? extends DoubleValue> type)
type
- the type to check for compatibilitypublic boolean isCompatible(int row, Class<? extends DataValue> type)
row
- the index of the row to checktype
- the type to check for compatibilitytrue
if the row contains a numerical columnpublic void setValue(Object aValue, int row, int columnIdx)
AbstractTableModel.fireTableCellUpdated(int, int)
to notify the
table renderer of the changes.setValue
in class AbstractAggregationTableModel<AggregationMethod,ColumnAggregator>
aValue
- the value to setrow
- the row to updatecolumnIdx
- the column to updateprotected void setAggregationMethod(int[] selectedRows, AggregationMethod method)
selectedRows
- the rows to updatemethod
- the AggregationMethod
to useprotected boolean isEditable(int row, int columnIdx)
isEditable
in class AbstractAggregationTableModel<AggregationMethod,ColumnAggregator>
row
- the row indexcolumnIdx
- the index of the column to checktrue
if the column can be editedprotected Object getValueAtRow(int row, int columnIndex)
getValueAtRow
in class AbstractAggregationTableModel<AggregationMethod,ColumnAggregator>
row
- the row indexcolumnIndex
- the column index@Deprecated public ColumnAggregator getColumnAggregator(int row)
row
- the index of the rowAbstractAggregationTableModel.getRow(int)
@Deprecated protected void removeColumns(Collection<String> colNames)
colNames
- the names of the columns to remove@Deprecated protected void removeColumn(int... idxs)
idxs
- the indices of the columns to removeAbstractAggregationTableModel.remove(int...)
@Deprecated public List<ColumnAggregator> getColumnAggregators()
ColumnAggregator
List
AbstractAggregationTableModel.getRows()
@Deprecated protected void addColumn(DataColumnSpec... specs)
specs
- the DataColumnSpec
s of the columns to addAbstractAggregationTableModel.add(List)
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.