|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.NodeFactory<T>
org.knime.core.node.ContextAwareNodeFactory<FileReaderNodeModel>
org.knime.base.node.io.filereader.FileReaderNodeFactory
public class FileReaderNodeFactory
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.knime.core.node.NodeFactory |
|---|
NodeFactory.NodeType |
| Constructor Summary | |
|---|---|
FileReaderNodeFactory()
Default constructor. |
|
FileReaderNodeFactory(String defXMLFileName)
|
|
| Method Summary | |
|---|---|
NodeDialogPane |
createNodeDialogPane()
Creates and returns a new node dialog pane, if NodeFactory.hasDialog()
returns true. |
FileReaderNodeModel |
createNodeModel()
Creates and returns a new instance of the node's corresponding model. |
FileReaderNodeModel |
createNodeModel(NodeCreationContext context)
Creates a new node model. |
NodeView<FileReaderNodeModel> |
createNodeView(int i,
FileReaderNodeModel 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 FileReaderNodeFactory(String defXMLFileName)
defXMLFileName - this string will be set as default path to a XML
file containing settings for the dialog. Won't be supported in
the future anymore.public FileReaderNodeFactory()
| Method Detail |
|---|
public FileReaderNodeModel createNodeModel()
createNodeModel in class NodeFactory<FileReaderNodeModel>null!public FileReaderNodeModel createNodeModel(NodeCreationContext context)
createNodeModel in class ContextAwareNodeFactory<FileReaderNodeModel>context - the context in which the node should be created
public int getNrNodeViews()
getNrNodeViews in class NodeFactory<FileReaderNodeModel>NodeFactory.createNodeView(int,NodeModel)
public NodeView<FileReaderNodeModel> createNodeView(int i,
FileReaderNodeModel nodeModel)
createNodeView in class NodeFactory<FileReaderNodeModel>i - The index for the view to create.nodeModel - the underlying model
NodeFactory.getNrNodeViews()public boolean hasDialog()
true if this node provides a dialog to adjust
node specific settings.
hasDialog in class NodeFactory<FileReaderNodeModel>true if a NodeDialogPane is
availableNodeFactory.createNodeDialogPane()public NodeDialogPane createNodeDialogPane()
NodeFactory.hasDialog()
returns true.
createNodeDialogPane in class NodeFactory<FileReaderNodeModel>NodeFactory.hasDialog()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||