|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.NodeDialogPane
org.knime.base.node.preproc.groupby.GroupByNodeDialog
public class GroupByNodeDialog
The node dialog of the group by node.
| Field Summary | |
|---|---|
static int |
DEFAULT_HEIGHT
The height of the default component. |
static int |
DEFAULT_WIDTH
The width of the default component. |
| Constructor Summary | |
|---|---|
GroupByNodeDialog()
Constructor for class GroupByNodeDialog. |
|
| Method Summary | |
|---|---|
protected void |
addPanel(JPanel p,
String title)
Add additional panel (i.e. |
protected void |
columnsChanged()
Synchronizes the available aggregation column list and the selected group columns. |
protected void |
excludeColumns(List<String> columns)
Synchronizes the available aggregation column list and the selected columns. |
protected void |
inMemoryChanged()
Call this method if the process in memory flag has changed. |
protected void |
loadSettingsFrom(NodeSettingsRO settings,
PortObjectSpec[] specs)
Invoked before the dialog window is opened. |
protected void |
saveSettingsTo(NodeSettingsWO settings)
Invoked when the settings need to be applied. |
| Methods inherited from class org.knime.core.node.NodeDialogPane |
|---|
addFlowVariablesTab, addJobMgrTab, addTab, addTabAt, closeOnESC, createFlowVariableModel, createFlowVariableModel, createFlowVariableModel, finishEditingAndSaveSettingsTo, getAvailableFlowVariables, getCredentialsNames, getCredentialsProvider, getPanel, getTab, getTabIndex, internalLoadSettingsFrom, isWriteProtected, 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 |
|---|
public static final int DEFAULT_WIDTH
public static final int DEFAULT_HEIGHT
| Constructor Detail |
|---|
public GroupByNodeDialog()
| Method Detail |
|---|
protected final void addPanel(JPanel p,
String title)
p - the panel to add to tabstitle - the title for the new tabprotected void inMemoryChanged()
protected final void columnsChanged()
protected void excludeColumns(List<String> columns)
columns - the column that are changed and need to be excluded
from the aggregation list
protected void loadSettingsFrom(NodeSettingsRO settings,
PortObjectSpec[] specs)
throws NotConfigurableException
The implementation must be able to handle invalid or incomplete settings as the model may not have any reasonable values yet (for example when the dialog is opened for the first time). When an empty/invalid settings object is passed the dialog should set default values in its components.
loadSettingsFrom in class NodeDialogPanesettings - The settings to load into the dialog. Could be an empty
object or contain invalid settings. But will never be null.specs - The input data table specs. Items of the array could be null
if no spec is available from the corresponding input port
(i.e. not connected or upstream node does not produce an
output spec). If a port is of type
BufferedDataTable.TYPE and no spec is available the
framework will replace null by an empty DataTableSpec
(no columns) unless the port is marked as optional.
NotConfigurableException - if the dialog cannot be opened because
of real invalid settings or if any preconditions are not fulfilled, e.g.
no predecessor node, no nominal column in input table, etc.NodeModel.loadSettingsFrom(NodeSettingsRO)
protected void saveSettingsTo(NodeSettingsWO settings)
throws InvalidSettingsException
saveSettingsTo in class NodeDialogPanesettings - The settings object to write into.
InvalidSettingsException - If the settings are not applicable to
the model.NodeModel.loadSettingsFrom(NodeSettingsRO)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||