|
||||||||||
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.io.def.DefaultTableNodeFactory
public class DefaultTableNodeFactory
Its the factory for a
DefaultTableNodeModel
. It will
produce a NodeModel
with a constant
DataTable
which was defined by the
parameters passed to the factory's constructor. No
NodeDialogPane
or
NodeView
is available.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.knime.core.node.NodeFactory |
---|
NodeFactory.NodeType |
Constructor Summary | |
---|---|
DefaultTableNodeFactory(DataRow[] rows,
DataTableSpec spec)
Also this constructor is available in DefaultTable . |
|
DefaultTableNodeFactory(DataRow[] rows,
String[] columnNames,
DataType[] columnTypes)
We provide the same constructors as the DefaultTable . |
|
DefaultTableNodeFactory(Object[][] data,
String[] rowHeader,
String[] colHeader)
We provide the same constructors as the DefaultTable . |
Method Summary | |
---|---|
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 i,
NodeModel 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, 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 DefaultTableNodeFactory(DataRow[] rows, String[] columnNames, DataType[] columnTypes)
DefaultTable
.
rows
- see DefaultTable constructorcolumnNames
- see DefaultTable constructorcolumnTypes
- see DefaultTable constructorDefaultTable
public DefaultTableNodeFactory(DataRow[] rows, DataTableSpec spec)
DefaultTable
.
rows
- Passed to constructor of
DefaultTable
spec
- Passed to constructor of
DefaultTable
DefaultTable.DefaultTable( DataRow[],
DataTableSpec)
public DefaultTableNodeFactory(Object[][] data, String[] rowHeader, String[] colHeader)
DefaultTable
.
data
- see DefaultTable constructorrowHeader
- see DefaultTable constructorcolHeader
- see DefaultTable constructorDefaultTable
Method Detail |
---|
public NodeModel createNodeModel()
createNodeModel
in class NodeFactory
null
!public int getNrNodeViews()
getNrNodeViews
in class NodeFactory
NodeFactory.createNodeView(int,NodeModel)
public NodeView createNodeView(int i, NodeModel nodeModel)
createNodeView
in class NodeFactory
i
- The index for the view to create.nodeModel
- the underlying model
NodeFactory.getNrNodeViews()
public boolean hasDialog()
NodeFactory
true
if this node provides a dialog to adjust
node specific settings.
hasDialog
in class NodeFactory
NodeFactory.hasDialog()
public NodeDialogPane createNodeDialogPane()
NodeFactory.hasDialog()
returns true
.
createNodeDialogPane
in class NodeFactory
NodeFactory.hasDialog()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |