Package | Description |
---|---|
api | |
classes | |
ui.controller | |
ui.model | |
ui.view |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<CpsEdge> |
CpsAPI.getAllEdges()
Reutn all Edges on the Canvas in no specific order.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<CpsEdge> |
AbstractCpsObject.getConnectedTo()
List of all existing connections.
|
java.util.ArrayList<CpsEdge> |
AbstractCpsObject.getConnections()
List of all existing connections.
|
java.util.ArrayList<CpsEdge> |
SubNet.getEdges()
Return all Edges in the Subnet.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractCpsObject.addConnection(CpsEdge toConnect)
Add a new connection to the selected Object.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractCpsObject.setConnections(java.util.ArrayList<CpsEdge> arrayList)
Set a new ArrayList of connections (Update).
|
Constructor and Description |
---|
SubNet(java.util.ArrayList<HolonObject> objects,
java.util.ArrayList<CpsEdge> edges,
java.util.ArrayList<HolonSwitch> switches)
Constructor for a Subnet.
|
Modifier and Type | Method and Description |
---|---|
CpsEdge |
MultiPurposeController.searchEdge(int a,
int b)
Search Edge between 2 Objects.
|
Modifier and Type | Method and Description |
---|---|
void |
Control.addEdgeOnCanvas(CpsEdge edge)
Add an edge to the Canvas.
|
void |
CanvasController.addEdgeOnCanvas(CpsEdge edge)
Add an edge to the Canvas.
|
void |
Control.removeEdgesOnCanvas(CpsEdge edge)
Removes an Edge from the Canvas.
|
void |
CanvasController.removeEdgesOnCanvas(CpsEdge edge)
Removes an Edge from the Canvas.
|
void |
Control.setSelecteEdge(CpsEdge edge)
Set the selected Edge.
|
Modifier and Type | Method and Description |
---|---|
void |
SimulationManager.resetConnections(AbstractCpsObject cps,
java.util.ArrayList<java.lang.Integer> visitedObj,
java.util.ArrayList<CpsEdge> visitedEdges)
Reset the Connection.
|
Modifier and Type | Method and Description |
---|---|
CpsEdge |
Model.getSelectedEdge()
Returns the selected Edge.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<CpsEdge> |
Model.getEdgesOnCanvas()
Get all Edges on the Canvas.
|
Modifier and Type | Method and Description |
---|---|
void |
Model.addEdgeOnCanvas(CpsEdge edge)
Adds an Edge to The Canvas.
|
void |
Model.removeEdgesOnCanvas(CpsEdge edge)
Remove an edge from the Canvas.
|
void |
Model.setSelectedEdge(CpsEdge edge)
Set the selected Edge.
|
Modifier and Type | Method and Description |
---|---|
void |
Model.setEdgesOnCanvas(java.util.ArrayList<CpsEdge> arrayList)
Sets the edges on the Canvas.
|
Modifier and Type | Method and Description |
---|---|
CpsEdge |
MyCanvas.mousePositionOnEdge(int x,
int y)
Checks if the mouse is on an Edge.
|