|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.workflow.NodePortAdaptor
org.knime.core.node.workflow.NodeOutPortWrapper
public class NodeOutPortWrapper
| Constructor Summary | |
|---|---|
NodeOutPortWrapper(int portIndex,
PortType pType)
Creates a new output port with a fixed type and index (should unique to all other output ports of this node) for the given node. |
|
| Method Summary | |
|---|---|
boolean |
addNodeStateChangeListener(NodeStateChangeListener listener)
|
void |
disposePortView()
Dispose the view (if any) associated with this port. |
boolean |
equals(Object obj)
|
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(). |
(package private) NodeOutPort |
getUnderlyingPort()
|
int |
hashCode()
|
boolean |
isInactive()
|
void |
notifyNodeStateChangeListener(NodeStateEvent e)
|
void |
openPortView(String name)
Opens the port view for this port with the given name. |
boolean |
removeNodeStateChangeListener(NodeStateChangeListener listener)
|
(package private) void |
setUnderlyingPort(NodeOutPort p)
Set a new underlying port - used when the connection inside this workflow to this outgoing port changes. |
void |
stateChanged(NodeStateEvent state)
Callback from node, indicating that the given node has changed its state. |
String |
toString()
|
| Methods inherited from class org.knime.core.node.workflow.NodePortAdaptor |
|---|
getPortIndex, getPortName, getPortType, setPortName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.knime.core.node.workflow.NodePort |
|---|
getPortIndex, getPortName, getPortType, setPortName |
| Constructor Detail |
|---|
NodeOutPortWrapper(int portIndex,
PortType pType)
pType - The port's typeportIndex - This port index| Method Detail |
|---|
void setUnderlyingPort(NodeOutPort p)
p - new portNodeOutPort getUnderlyingPort()
public HiLiteHandler getHiLiteHandler()
getHiLiteHandler in interface NodeOutPortpublic FlowObjectStack getFlowObjectStack()
FlowObjectStack of the underlying node.
getFlowObjectStack in interface NodeOutPortpublic PortObject getPortObject()
getPortObject in interface NodeOutPortpublic 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).
getPortSummary in interface NodeOutPortpublic NodeContainer.State getNodeState()
getNodeState in interface NodeOutPortpublic PortObjectSpec getPortObjectSpec()
DataTableSpec or null if not available.
getPortObjectSpec in interface NodeOutPortDataTableSpec for this port.public boolean isInactive()
isInactive in interface NodeOutPortInactiveBranchPortObjectSpecpublic void openPortView(String name)
openPortView in interface NodeOutPortname - The name of the port view.public void disposePortView()
disposePortView in interface NodeOutPortpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic boolean addNodeStateChangeListener(NodeStateChangeListener listener)
addNodeStateChangeListener in interface NodeOutPortlistener - a listener to the state of the port, that is the state
of the predecessor node
public void notifyNodeStateChangeListener(NodeStateEvent e)
notifyNodeStateChangeListener in interface NodeOutPorte - the event which should be forwarded to all regsitered
NodeStateChangeListenerspublic boolean removeNodeStateChangeListener(NodeStateChangeListener listener)
removeNodeStateChangeListener in interface NodeOutPortlistener - the listener to be de-registered
public void stateChanged(NodeStateEvent state)
stateChanged in interface NodeStateChangeListenerstate - Indicates the change of this node.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||