org.knime.base.node.viz.statistics
Class Statistics2NodeFactory

java.lang.Object
  extended by org.knime.core.node.NodeFactory<Statistics2NodeModel>
      extended by org.knime.base.node.viz.statistics.Statistics2NodeFactory

public class Statistics2NodeFactory
extends NodeFactory<Statistics2NodeModel>

Factory class for the Statistics Node.

Author:
Thomas Gabriel, University of Konstanz

Nested Class Summary
 
Nested classes/interfaces inherited from class org.knime.core.node.NodeFactory
NodeFactory.NodeType
 
Constructor Summary
Statistics2NodeFactory()
          Empty default constructor.
 
Method Summary
 NodeDialogPane createNodeDialogPane()
          This node has no dialog.
 Statistics2NodeModel createNodeModel()
          Creates and returns a new instance of the node's corresponding model.
 NodeView<Statistics2NodeModel> createNodeView(int viewIndex, Statistics2NodeModel nodeModel)
          The view offers statistical information on the input table.
 int getNrNodeViews()
          This node has one view.
 boolean hasDialog()
          No dialog for this node.
 
Methods inherited from class org.knime.core.node.NodeFactory
addLoadedFactory, createAbstractNodeView, 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

Statistics2NodeFactory

public Statistics2NodeFactory()
Empty default constructor.

Method Detail

createNodeDialogPane

public NodeDialogPane createNodeDialogPane()
This node has no dialog.

Specified by:
createNodeDialogPane in class NodeFactory<Statistics2NodeModel>
Returns:
node dialog pane
See Also:
NodeFactory.hasDialog()

createNodeModel

public Statistics2NodeModel createNodeModel()
Creates and returns a new instance of the node's corresponding model.

Specified by:
createNodeModel in class NodeFactory<Statistics2NodeModel>
Returns:
A new NodeModel for this node. Never null!

createNodeView

public NodeView<Statistics2NodeModel> createNodeView(int viewIndex,
                                                     Statistics2NodeModel nodeModel)
The view offers statistical information on the input table.

Specified by:
createNodeView in class NodeFactory<Statistics2NodeModel>
Parameters:
viewIndex - The index for the view to create.
nodeModel - the underlying model
Returns:
a new node view for the given index
See Also:
NodeFactory.getNrNodeViews()

getNrNodeViews

public int getNrNodeViews()
This node has one view.

Specified by:
getNrNodeViews in class NodeFactory<Statistics2NodeModel>
Returns:
number of views available for this node
See Also:
NodeFactory.createNodeView(int,NodeModel)

hasDialog

public boolean hasDialog()
No dialog for this node.

Specified by:
hasDialog in class NodeFactory<Statistics2NodeModel>
Returns:
true if a NodeDialogPane is available
See Also:
NodeFactory.createNodeDialogPane()


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.