public class ColumnAggregatorTableCellEditor extends AbstractAggregationFunctionTableCellEditor<AggregationMethod,ColumnAggregator>
AbstractAggregationFunctionTableCellEditor
class to provide the
aggregation function selection box for the ColumnAggregator
.DefaultCellEditor.EditorDelegate
clickCountToStart, delegate, editorComponent
changeEvent, listenerList
Constructor and Description |
---|
ColumnAggregatorTableCellEditor()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected DataType |
getDataType(JTable table,
ColumnAggregator value,
boolean isSelected,
int row,
int column) |
protected AggregationFunction |
getSelectedAggregationMethod(JTable table,
ColumnAggregator value,
boolean isSelected,
int row,
int column) |
getAggregationFunctionProvider, getBox, getCompatibleMethods, getTableCellEditorComponent, setAggregationFunctionProvider
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCellEditorListener, removeCellEditorListener
public ColumnAggregatorTableCellEditor()
protected AggregationFunction getSelectedAggregationMethod(JTable table, ColumnAggregator value, boolean isSelected, int row, int column)
getSelectedAggregationMethod
in class AbstractAggregationFunctionTableCellEditor<AggregationMethod,ColumnAggregator>
table
- the JTable
that is asking the
editor to edit; can be null
value
- the value of the cell to be edited; it is
up to the specific editor to interpret
and draw the value. For example, if value is
the string "true", it could be rendered as a
string or it could be rendered as a check
box that is checked. null
is a valid valueisSelected
- true if the cell is to be rendered with
highlightingrow
- the row of the cell being editedcolumn
- the column of the cell being editedAggregationMethod
of the selected value or null
if it cannot be retrievedprotected DataType getDataType(JTable table, ColumnAggregator value, boolean isSelected, int row, int column)
getDataType
in class AbstractAggregationFunctionTableCellEditor<AggregationMethod,ColumnAggregator>
table
- the JTable
that is asking the
editor to edit; can be null
value
- the value of the cell to be edited; it is
up to the specific editor to interpret
and draw the value. For example, if value is
the string "true", it could be rendered as a
string or it could be rendered as a check
box that is checked. null
is a valid valueisSelected
- true if the cell is to be rendered with
highlightingrow
- the row of the cell being editedcolumn
- the column of the cell being editedDataType
of the row to determine the supported AggregationMethod
s that are displayed
in the drop down box or null
if it cannot be retrieved
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.