org.knime.base.node.preproc.groupby.dialogutil
Class AggregationMethodTableCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
javax.swing.DefaultCellEditor
org.knime.base.node.preproc.groupby.dialogutil.AggregationMethodTableCellEditor
- All Implemented Interfaces:
- Serializable, CellEditor, TableCellEditor, TreeCellEditor
public class AggregationMethodTableCellEditor
- extends DefaultCellEditor
- implements TableCellEditor
Extends the DefaultTreeCellEditor
class to provide the
AggregationMethodComboBox
as cell editor. It passes the
DataColumnSpec
of the selected method to the combo box to
display only compatible aggregation methods.
- Author:
- Tobias Koetter, University of Konstanz
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregationMethodTableCellEditor
public AggregationMethodTableCellEditor(TableModel model)
- Constructor for class AggregationMethodTableCellEditor.
- Parameters:
model
- the TableModel
to get the type of the column
that should be changed
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
-
- Specified by:
getTableCellEditorComponent
in interface TableCellEditor
- Overrides:
getTableCellEditorComponent
in class DefaultCellEditor
getBox
AggregationMethodComboBox getBox()
- Returns:
- the
AggregationMethodComboBox
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
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.