public class DataTypeAggregationPanel extends AbstractAggregationPanel<DataTypeAggregationTableModel,DataTypeAggregator,DataType>
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_TITLE
The default title of the panel to display in a dialog.
|
MISSING_CELL_OPTION_SIZE, PANEL_DIMENSION, SETTINGS_BUTTON_CELL_SIZE
Constructor and Description |
---|
DataTypeAggregationPanel(String key)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
adaptTableColumnModel(TableColumnModel columnModel)
Override this method to set specific renderer and column widths.
|
protected DataTypeAggregator |
createRow(DataType selectedListElement) |
protected JPopupMenu |
createTablePopupMenu() |
void |
loadSettingsFrom(NodeSettingsRO settings,
DataTableSpec spec) |
void |
saveSettingsTo(NodeSettingsWO settings) |
addRows, appendMissingValuesEntry, createButtonComponent, createInvalidRowsSelectionMenu, createListComponent, createTableComponent, getComponentPanel, getInputTableSpec, getList, getListElements, getListModel, getMissingCellRenderer, getNoOfSelectedRows, getNoOfTableRows, getOperator, getSelectedRows, getTable, getTableModel, getTableMouseAdapter, initialize, onAddAll, onAddIt, onRemAll, onRemIt, selectAllCompatibleMethods, selectAllCompatibleRows, selectAllRows, selectAllSelectedMethods, tableRowsSelected, toggleMissingCellOption, updateSelection, validate
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved
public static final String DEFAULT_TITLE
public DataTypeAggregationPanel(String key)
key
- the unique settings keyprotected void adaptTableColumnModel(TableColumnModel columnModel)
adaptTableColumnModel
in class AbstractAggregationPanel<DataTypeAggregationTableModel,DataTypeAggregator,DataType>
columnModel
- the TableColumnModel
to adaptprotected JPopupMenu createTablePopupMenu()
createTablePopupMenu
in class AbstractAggregationPanel<DataTypeAggregationTableModel,DataTypeAggregator,DataType>
JPopupMenu
or null
for no popup menuprotected DataTypeAggregator createRow(DataType selectedListElement)
createRow
in class AbstractAggregationPanel<DataTypeAggregationTableModel,DataTypeAggregator,DataType>
selectedListElement
- the list element to create the AggregationFunctionRow
forAggregationFunctionRow
classpublic void loadSettingsFrom(NodeSettingsRO settings, DataTableSpec spec) throws InvalidSettingsException
settings
- NodeSettingsRO
spec
- DataTableSpec
InvalidSettingsException
- if the settings are invalidpublic void saveSettingsTo(NodeSettingsWO settings)
settings
- NodeSettingsWO
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.