|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeOutPort
Interface for a node's output port. A variable number of input ports can be connected to it (which are part of the next nodes in the workflow).
Method Summary | |
---|---|
boolean |
addNodeStateChangeListener(NodeStateChangeListener listener)
|
void |
disposePortView()
Dispose the view (if any) associated with this port. |
FlowObjectStack |
getFlowObjectStack()
Returns the FlowObjectStack of the underlying node. |
HiLiteHandler |
getHiLiteHandler()
Returns the hilite handler for this port as set by the node this port is output for. |
NodeContainer.State |
getNodeState()
|
PortObject |
getPortObject()
Returns the DataTable for this port, as set by the node this port is output for. |
PortObjectSpec |
getPortObjectSpec()
Returns the DataTableSpec or null if not available. |
String |
getPortSummary()
Get summary of the underlying port object as provided by PortObject.getSummary() . |
void |
notifyNodeStateChangeListener(NodeStateEvent e)
|
void |
openPortView(String name)
Opens the port view for this port with the given name. |
boolean |
removeNodeStateChangeListener(NodeStateChangeListener listener)
|
Methods inherited from interface org.knime.core.node.workflow.NodePort |
---|
getPortIndex, getPortName, getPortType, setPortName |
Methods inherited from interface org.knime.core.node.workflow.NodeStateChangeListener |
---|
stateChanged |
Method Detail |
---|
PortObjectSpec getPortObjectSpec()
DataTableSpec
or null if not available.
DataTableSpec
for this port.PortObject getPortObject()
String getPortSummary()
PortObject.getSummary()
. It's a separate method since calling
getPortObject().getSummary() may force the underlying table (if it is
a table) to restore its content from disc. Summaries are saved in the
workflow file (or the node's corresponding sub directory).
NodeContainer.State getNodeState()
HiLiteHandler getHiLiteHandler()
FlowObjectStack getFlowObjectStack()
FlowObjectStack
of the underlying node.
void openPortView(String name)
name
- The name of the port view.void disposePortView()
boolean addNodeStateChangeListener(NodeStateChangeListener listener)
listener
- a listener to the state of the port, that is the state
of the predecessor node
boolean removeNodeStateChangeListener(NodeStateChangeListener listener)
listener
- the listener to be de-registered
void notifyNodeStateChangeListener(NodeStateEvent e)
e
- the event which should be forwarded to all regsitered
NodeStateChangeListener
s
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |