|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.workflow.ConnectionContainer
public class ConnectionContainer
Holds all information related to one connection between specific ports of two nodes. It also holds additional information, which can be adjusted from the outside (bend points on a layout, for example).
| Nested Class Summary | |
|---|---|
(package private) static class |
ConnectionContainer.ConnectionType
|
| Constructor Summary | |
|---|---|
ConnectionContainer(org.knime.core.node.workflow.NodeID src,
int srcPort,
org.knime.core.node.workflow.NodeID dest,
int destPort,
ConnectionContainer.ConnectionType type)
Creates new connection. |
|
| Method Summary | |
|---|---|
void |
addProgressListener(ConnectionProgressListener listener)
Adds a listener to the list of registered progress listeners. |
void |
addUIInformationListener(ConnectionUIInformationListener l)
Add a listener to the list of registered listeners. |
void |
cleanup()
Removes all registered listeners in order to release references on this object. |
boolean |
equals(Object obj)
|
org.knime.core.node.workflow.NodeID |
getDest()
|
int |
getDestPort()
|
ConnectionID |
getID()
|
org.knime.core.node.workflow.NodeID |
getSource()
|
int |
getSourcePort()
|
ConnectionContainer.ConnectionType |
getType()
|
ConnectionUIInformation |
getUIInfo()
|
int |
hashCode()
|
boolean |
isDeletable()
|
protected void |
notifyProgressListeners(ConnectionProgressEvent evt)
Notifies all registered progress listeners with the argument event. |
protected void |
notifyUIListeners(ConnectionUIInformationEvent evt)
Notifies all registered listeners with the argument event. |
void |
progressChanged(ConnectionProgressEvent pe)
Invoked when the progress has changed. |
void |
removeProgressListener(ConnectionProgressListener listener)
Removes a listener from the list of registered progress listeners. |
void |
removeUIInformationListener(ConnectionUIInformationListener l)
Remove a registered listener from the listener list. |
(package private) void |
setDeletable(boolean isDeletable)
|
void |
setUIInfo(ConnectionUIInformation uiInfo)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionContainer(org.knime.core.node.workflow.NodeID src,
int srcPort,
org.knime.core.node.workflow.NodeID dest,
int destPort,
ConnectionContainer.ConnectionType type)
src - source nodesrcPort - port of source nodedest - destination nodedestPort - port of destination nodetype - of connection| Method Detail |
|---|
public ConnectionUIInformation getUIInfo()
public org.knime.core.node.workflow.NodeID getDest()
public int getDestPort()
public org.knime.core.node.workflow.NodeID getSource()
public int getSourcePort()
public boolean isDeletable()
void setDeletable(boolean isDeletable)
isDeletable - the isDeletable to setpublic ConnectionContainer.ConnectionType getType()
public ConnectionID getID()
public void setUIInfo(ConnectionUIInformation uiInfo)
uiInfo - the uiInfo to setpublic void addUIInformationListener(ConnectionUIInformationListener l)
l - The listener to add, must not be null.public void removeUIInformationListener(ConnectionUIInformationListener l)
l - The listener to remove.public void addProgressListener(ConnectionProgressListener listener)
listener - The listener to add, must not be null.public void removeProgressListener(ConnectionProgressListener listener)
listener - The listener to removepublic void progressChanged(ConnectionProgressEvent pe)
progressChanged in interface ConnectionProgressListenerpe - The progress event holding the progress information.public void cleanup()
protected void notifyProgressListeners(ConnectionProgressEvent evt)
evt - The event to fire.protected void notifyUIListeners(ConnectionUIInformationEvent evt)
evt - The event to fire.public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||