|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.NodeFactory<M>
org.knime.base.node.viz.pie.node.PieNodeFactory<D,M,V>
D - the PieVizModel implementationM - the PieNodeModel implementationV - the PieNodeView implementationpublic abstract class PieNodeFactory<D extends PieVizModel,M extends PieNodeModel<D>,V extends PieNodeView>
Basic node factory class of all pie charts.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.knime.core.node.NodeFactory |
|---|
NodeFactory.NodeType |
| Constructor Summary | |
|---|---|
PieNodeFactory()
|
|
| Method Summary | |
|---|---|
NodeDialogPane |
createNodeDialogPane()
Creates and returns a new node dialog pane, if NodeFactory.hasDialog()
returns true. |
abstract M |
createNodeModel()
Creates and returns a new instance of the node's corresponding model. |
abstract V |
createNodeView(int viewIndex,
M nodeModel)
Creates and returns a new node view for the given index. |
int |
getNrNodeViews()
Returns the number of possible views or 0 if no view is available. |
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 PieNodeFactory()
| Method Detail |
|---|
public abstract M createNodeModel()
createNodeModel in class NodeFactory<M extends PieNodeModel<D>>null!public int getNrNodeViews()
getNrNodeViews in class NodeFactory<M extends PieNodeModel<D>>NodeFactory.createNodeView(int,NodeModel)
public abstract V createNodeView(int viewIndex,
M nodeModel)
createNodeView in class NodeFactory<M extends PieNodeModel<D>>viewIndex - The index for the view to create.nodeModel - the underlying model
NodeFactory.getNrNodeViews()public NodeDialogPane createNodeDialogPane()
NodeFactory.hasDialog()
returns true.
createNodeDialogPane in class NodeFactory<M extends PieNodeModel<D>>NodeFactory.hasDialog()public boolean hasDialog()
true if this node provides a dialog to adjust
node specific settings.
hasDialog in class NodeFactory<M extends PieNodeModel<D>>true if a NodeDialogPane is
availableNodeFactory.createNodeDialogPane()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||