public class SmoteNodeFactory extends NodeFactory
NodeFactory.NodeType
Constructor and Description |
---|
SmoteNodeFactory() |
Modifier and Type | Method and Description |
---|---|
NodeDialogPane |
createNodeDialogPane()
Creates and returns a new node dialog pane, if
NodeFactory.hasDialog()
returns true . |
NodeModel |
createNodeModel()
Creates and returns a new instance of the node's corresponding model.
|
NodeView |
createNodeView(int index,
NodeModel m)
Creates and returns a new node view for the given index.
|
int |
getNrNodeViews()
Returns the number of views or 0 if no view is available.
|
boolean |
hasDialog()
Returns
true if this node provides a dialog to adjust
node specific settings. |
addLoadedFactory, createAbstractNodeView, createNodeDescription, createNodeModel, getDefaultIcon, getIcon, getInportDescription, getInportName, getInteractiveViewName, getLoadedNodeFactories, getNodeName, getNodeViewName, getOutportDescription, getOutportName, getPropertiesInputStream, getType, getViewDescription, getXMLDescription, init, isDeprecated, loadAdditionalFactorySettings, saveAdditionalFactorySettings
public NodeModel createNodeModel()
createNodeModel
in class NodeFactory
NodeModel
for this node. Never null
!public int getNrNodeViews()
getNrNodeViews
in class NodeFactory
NodeFactory.createNodeView(int,NodeModel)
public NodeView createNodeView(int index, NodeModel m)
createNodeView
in class NodeFactory
index
- The index for the view to create.m
- the underlying modelNodeFactory.getNrNodeViews()
public boolean hasDialog()
true
if this node provides a dialog to adjust
node specific settings.hasDialog
in class NodeFactory
true
if a NodeDialogPane
is
availableNodeFactory.createNodeDialogPane()
public NodeDialogPane createNodeDialogPane()
NodeFactory.hasDialog()
returns true
.createNodeDialogPane
in class NodeFactory
NodeFactory.hasDialog()
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.