|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.NodeFactory
org.knime.base.node.mine.knn.KnnNodeFactory
public class KnnNodeFactory
This factory creates all necessary object for the kNN node.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.knime.core.node.NodeFactory |
|---|
NodeFactory.NodeType |
| Constructor Summary | |
|---|---|
KnnNodeFactory()
|
|
| Method Summary | |
|---|---|
protected 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 viewIndex,
NodeModel nodeModel)
Creates and returns a new node view for the given index. |
protected int |
getNrNodeViews()
Returns the number of possible views or 0 if no view is available. |
protected boolean |
hasDialog()
Returns true if this node provides a dialog to adjust
node specific settings. |
| Methods inherited from class org.knime.core.node.NodeFactory |
|---|
addLoadedFactory, createAbstractNodeView, createNodeModel, getDefaultIcon, getIcon, getInportDescription, getInportName, getLoadedNodeFactories, getNodeName, getNodeViewName, getOutportDescription, getOutportName, getType, getViewDescription, getXMLDescription |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KnnNodeFactory()
| Method Detail |
|---|
protected NodeDialogPane createNodeDialogPane()
NodeFactory.hasDialog()
returns true.
createNodeDialogPane in class NodeFactoryNodeFactory.hasDialog()public NodeModel createNodeModel()
createNodeModel in class NodeFactorynull!
public NodeView createNodeView(int viewIndex,
NodeModel nodeModel)
createNodeView in class NodeFactoryviewIndex - The index for the view to create.nodeModel - the underlying model
NodeFactory.getNrNodeViews()protected int getNrNodeViews()
getNrNodeViews in class NodeFactoryNodeFactory.createNodeView(int,NodeModel)protected boolean hasDialog()
true if this node provides a dialog to adjust
node specific settings.
hasDialog in class NodeFactorytrue if a NodeDialogPane is
availableNodeFactory.createNodeDialogPane()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||