visualizationRequest| Modifier and Type | Method and Description |
|---|---|
void |
add(Connection c)
Adds a connection to this collection.
|
Connection |
add(Connector s,
Connector r)
Adds the connection defined by the specified connectors.
|
Connection |
add(String id,
Connector s,
Connector r,
VisualizationRequest vReq)
Adds the connection defined by the specified connectors.
|
boolean |
contains(Connector s,
Connector r)
Determines if a connection exists between the specified connectors.
|
Connection |
get(String id,
Connector s,
Connector r)
Returns the specified connection.
|
Collection<Connection> |
getAll(Connector s,
Connector r)
Returns all connections betwenn the specified connectors.
|
Collection<Connection> |
getAllWith(Connector c)
Returns all connections that are connected to the specified connector.
|
Collection<Connection> |
getAllWithNode(VNode n)
Returns all connections that are connected to the specified node.
|
Class<? extends Connection> |
getConnectionClass()
Returns the connection implementation class.
|
ObservableList<Connection> |
getConnections()
Returns the connections defined by this collection.
|
String |
getType()
Returns the connection type of this collection.
|
boolean |
isInputConnected(Connector id)
Determines whether the specified input connector is connected.
|
boolean |
isOutputConnected(Connector id)
Determines whether the specified output connector is connected.
|
void |
remove(Connection c)
Removes the specified connection from this collection
|
void |
remove(String id,
Connector s,
Connector r)
Removes the specified connection from this collection.
|
void |
removeAll(Connector s,
Connector r)
Removes all connections between the specified connectors from this
collection.
|
void |
setConnectionClass(Class<? extends Connection> cls)
Defines the connection implementation class that shall be used.
|
getVisualizationRequest, isVisualizationRequestInitialized, setVisualizationRequest, visualizationRequestPropertyvoid add(Connection c)
c - the connection to addConnection add(Connector s, Connector r)
s - sender connectorr - receiver connectorConnection add(String id, Connector s, Connector r, VisualizationRequest vReq)
id - the id of the connection that shall be addeds - the sender connectorr - the receiver connectorvReq - the visualization request of the connectionvoid remove(Connection c)
c - connection to removeConnection get(String id, Connector s, Connector r)
id - id of the connection to be returneds - sender connectorr - receiver connectornull if no such
connection existsCollection<Connection> getAll(Connector s, Connector r)
s - sender connectorr - receiver connectorvoid remove(String id, Connector s, Connector r)
id - connection ids - sender connectorr - receiver connectorvoid removeAll(Connector s, Connector r)
s - sender connectorr - receiver connectorvoid setConnectionClass(Class<? extends Connection> cls)
cls - connection implementation classClass<? extends Connection> getConnectionClass()
ObservableList<Connection> getConnections()
Collection<Connection> getAllWith(Connector c)
c - connectorCollection<Connection> getAllWithNode(VNode n)
n - nodeboolean isInputConnected(Connector id)
id - connector idtrue if the specified input connector is connected;
false otherwiseboolean isOutputConnected(Connector id)
id - connector idtrue if the specified output connector is connected;
false otherwiseboolean contains(Connector s, Connector r)
s - sender connectorr - receiver connectortrue if a connection between the specified
connectors exists; false otherwiseString getType()
"control" or
"data")