org.knime.base.node.preproc.pivot
Class PivotNodeDialogPane

java.lang.Object
  extended by org.knime.core.node.NodeDialogPane
      extended by org.knime.core.node.defaultnodesettings.DefaultNodeSettingsPane
          extended by org.knime.base.node.preproc.pivot.PivotNodeDialogPane

public class PivotNodeDialogPane
extends DefaultNodeSettingsPane

Pivot dialog pane used to selected the pivot and group column, and optional an aggregation column.

Author:
Thomas Gabriel, University of Konstanz

Field Summary
(package private) static String[] MAKE_AGGREGATION
          Defines the labels for the radio buttons, count occurrences and enable aggregation.
 
Constructor Summary
PivotNodeDialogPane()
          Creates a new pivot dialog pane with two column selection boxes, one for the group column - used as row ID - and one as the pivot column - used in the column header, and (optional) an aggregation column.
 
Method Summary
(package private) static SettingsModelString createSettingsAggregation()
           
(package private) static SettingsModelString createSettingsAggregationMethod()
           
(package private) static SettingsModelBoolean createSettingsEnableHiLite()
           
(package private) static SettingsModelString createSettingsGroup()
           
(package private) static SettingsModelString createSettingsMakeAggregation()
           
(package private) static SettingsModelBoolean createSettingsMissingValues()
           
(package private) static SettingsModelString createSettingsPivot()
           
 void loadAdditionalSettingsFrom(NodeSettingsRO settings, DataTableSpec[] specs)
          Override hook to load additional settings when all input ports are data ports.
 
Methods inherited from class org.knime.core.node.defaultnodesettings.DefaultNodeSettingsPane
addDialogComponent, closeCurrentGroup, createNewGroup, createNewTab, createNewTabAt, loadAdditionalSettingsFrom, loadSettingsFrom, saveAdditionalSettingsTo, saveSettingsTo, selectTab, setDefaultTabTitle, setHorizontalPlacement
 
Methods inherited from class org.knime.core.node.NodeDialogPane
addJobMgrTab, addTab, addTabAt, createFlowVariableModel, createFlowVariableModel, createFlowVariableModel, finishEditingAndSaveSettingsTo, getAvailableFlowVariables, getPanel, getTab, getTabIndex, internalLoadSettingsFrom, loadSettingsFrom, loadSettingsFrom, onCancel, onClose, onOpen, removeTab, renameTab, saveSettingsTo, setEnabled, setSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAKE_AGGREGATION

static final String[] MAKE_AGGREGATION
Defines the labels for the radio buttons, count occurrences and enable aggregation.

Constructor Detail

PivotNodeDialogPane

PivotNodeDialogPane()
Creates a new pivot dialog pane with two column selection boxes, one for the group column - used as row ID - and one as the pivot column - used in the column header, and (optional) an aggregation column.

Method Detail

loadAdditionalSettingsFrom

public void loadAdditionalSettingsFrom(NodeSettingsRO settings,
                                       DataTableSpec[] specs)
                                throws NotConfigurableException
Override hook to load additional settings when all input ports are data ports. This method is the specific implementation to DefaultNodeSettingsPane.loadAdditionalSettingsFrom(NodeSettingsRO, PortObjectSpec[]) if all input ports are data ports. All elements in the specs argument are guaranteed to be non-null.

Overrides:
loadAdditionalSettingsFrom in class DefaultNodeSettingsPane
Parameters:
settings - The settings of the node
specs - The DataTableSpec of the input tables.
Throws:
NotConfigurableException - If not configurable

createSettingsMissingValues

static final SettingsModelBoolean createSettingsMissingValues()
Returns:
settings model boolean for ignoring missing values

createSettingsGroup

static final SettingsModelString createSettingsGroup()
Returns:
a settings model string as group column

createSettingsPivot

static final SettingsModelString createSettingsPivot()
Returns:
a settings model string as pivot column

createSettingsAggregation

static final SettingsModelString createSettingsAggregation()
Returns:
a settings model string as pivot column

createSettingsAggregationMethod

static final SettingsModelString createSettingsAggregationMethod()
Returns:
a settings model string as aggregation method

createSettingsMakeAggregation

static final SettingsModelString createSettingsMakeAggregation()
Returns:
a settings model boolean for aggregation method on/off

createSettingsEnableHiLite

static final SettingsModelBoolean createSettingsEnableHiLite()
Returns:
a settings model boolean to enable/disable hiliting


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.