|
||||||||||
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(NodeID src,
int srcPort,
NodeID dest,
int destPort,
ConnectionContainer.ConnectionType type)
Creates new connection. |
Method Summary | |
---|---|
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)
|
NodeID |
getDest()
|
int |
getDestPort()
|
NodeID |
getSource()
|
int |
getSourcePort()
|
ConnectionContainer.ConnectionType |
getType()
|
UIInformation |
getUIInfo()
|
int |
hashCode()
|
boolean |
isDeletable()
|
protected void |
notifyUIListeners(ConnectionUIInformationEvent evt)
Notifies all registered listeners with the argument event. |
void |
removeUIInformationListener(ConnectionUIInformationListener l)
Remove a registered listener from the listener list. |
(package private) void |
setDeletable(boolean isDeletable)
|
void |
setUIInfo(UIInformation uiInfo)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConnectionContainer(NodeID src, int srcPort, NodeID dest, int destPort, ConnectionContainer.ConnectionType type)
src
- source nodesrcPort
- port of source nodedest
- destination nodedestPort
- port of destination nodetype
- of connectionMethod Detail |
---|
public UIInformation getUIInfo()
public NodeID getDest()
public int getDestPort()
public NodeID getSource()
public int getSourcePort()
public boolean isDeletable()
void setDeletable(boolean isDeletable)
isDeletable
- the isDeletable to setpublic ConnectionContainer.ConnectionType getType()
public void setUIInfo(UIInformation 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 cleanup()
protected void notifyUIListeners(ConnectionUIInformationEvent evt)
evt
- The event to fire.public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |