|
||||||||||
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.mine.bfn.BasisFunctionLearnerNodeDialogPane
org.knime.base.node.mine.bfn.fuzzy.FuzzyBasisFunctionLearnerNodeDialog
public class FuzzyBasisFunctionLearnerNodeDialog
A dialog for the fuzzy basisfunction learner to set the following properties: theta minus, theta plus, and a distance measurement.
Constructor Summary | |
---|---|
FuzzyBasisFunctionLearnerNodeDialog()
Creates a new dialog pane for fuzzy basis functions in order to set theta minus, theta plus, and a choice of distance function. |
Method Summary | |
---|---|
protected void |
loadSettingsFrom(NodeSettingsRO settings,
PortObjectSpec[] specs)
Invoked before the dialog window is opened. |
protected void |
saveSettingsTo(NodeSettingsWO settings)
Updates this dialog by retrieving theta minus, theta plus, and the choice of distance function from the underlying model. |
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 |
Constructor Detail |
---|
public FuzzyBasisFunctionLearnerNodeDialog()
Method Detail |
---|
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 BasisFunctionLearnerNodeDialogPane
settings
- 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.
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 BasisFunctionLearnerNodeDialogPane
settings
- the object to write the settings into
InvalidSettingsException
- not thrown, but might be thrown by
derived classesNodeModel.loadSettingsFrom(NodeSettingsRO)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |