public class ColumnAggregatorTableCellEditor extends AbstractAggregationFunctionTableCellEditor<AggregationMethod,ColumnAggregator>
AbstractAggregationFunctionTableCellEditor class to provide the
aggregation function selection box for the ColumnAggregator.DefaultCellEditor.EditorDelegateclickCountToStart, delegate, editorComponentchangeEvent, 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, setAggregationFunctionProvidercancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditingaddCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, removeCellEditorListenerpublic 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 nullvalue - 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 nullvalue - 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 AggregationMethods 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.