org.knime.base.node.viz.pie.node.fixed
Class FixedPieNodeFactory

java.lang.Object
  extended by org.knime.core.node.NodeFactory<M>
      extended by org.knime.base.node.viz.pie.node.PieNodeFactory<FixedPieVizModel,FixedPieNodeModel,FixedPieNodeView>
          extended by org.knime.base.node.viz.pie.node.fixed.FixedPieNodeFactory

public class FixedPieNodeFactory
extends PieNodeFactory<FixedPieVizModel,FixedPieNodeModel,FixedPieNodeView>

Factory class of the fixed pie chart implementation.

Author:
Tobias Koetter, University of Konstanz

Nested Class Summary
 
Nested classes/interfaces inherited from class org.knime.core.node.NodeFactory
NodeFactory.NodeType
 
Constructor Summary
FixedPieNodeFactory()
           
 
Method Summary
 FixedPieNodeModel createNodeModel()
          Creates and returns a new instance of the node's corresponding model.
 FixedPieNodeView createNodeView(int viewIndex, FixedPieNodeModel nodeModel)
          Creates and returns a new node view for the given index.
 
Methods inherited from class org.knime.base.node.viz.pie.node.PieNodeFactory
createNodeDialogPane, getNrNodeViews, hasDialog
 
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

FixedPieNodeFactory

public FixedPieNodeFactory()
Method Detail

createNodeModel

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

Specified by:
createNodeModel in class PieNodeFactory<FixedPieVizModel,FixedPieNodeModel,FixedPieNodeView>
Returns:
A new NodeModel for this node. Never null!

createNodeView

public FixedPieNodeView createNodeView(int viewIndex,
                                       FixedPieNodeModel nodeModel)
Creates and returns a new node view for the given index.

Specified by:
createNodeView in class PieNodeFactory<FixedPieVizModel,FixedPieNodeModel,FixedPieNodeView>
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()


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.