org.knime.core.node.workflow
Class NodeInPort

java.lang.Object
  extended by org.knime.core.node.workflow.NodePortAdaptor
      extended by org.knime.core.node.workflow.NodeInPort
All Implemented Interfaces:
NodePort
Direct Known Subclasses:
WorkflowInPort

public class NodeInPort
extends NodePortAdaptor
implements NodePort

Implements a node's input port. Internally it keeps a reference to its connected NodeOutPort if available and to its node. The node gets notified, whenever the connection changes.

Author:
Thomas Gabriel, University of Konstanz
See Also:
NodeOutPort

Constructor Summary
NodeInPort(int portIndex, PortType type)
          Creates a new input port with index and type assigned from the node.
 
Method Summary
 
Methods inherited from class org.knime.core.node.workflow.NodePortAdaptor
getPortIndex, getPortName, getPortType, setPortName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.knime.core.node.workflow.NodePort
getPortIndex, getPortName, getPortType, setPortName
 

Constructor Detail

NodeInPort

public NodeInPort(int portIndex,
                  PortType type)
Creates a new input port with index and type assigned from the node.

Parameters:
portIndex - the index of this port.


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.