Package | Description |
---|---|
api | |
classes | |
interfaces | |
tests | |
ui.controller | |
ui.model | |
ui.view |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<AbstractCpsObject> |
CpsAPI.getAllObjOnCanvas()
Return all Objects on the Canvas in no Specific order.
|
Modifier and Type | Method and Description |
---|---|
void |
CpsAPI.resetBorderColor(AbstractCpsObject toReset)
resets the bordercolor of given object to default (white).
|
void |
CpsAPI.setBorderColorForObj(AbstractCpsObject toChange,
java.awt.Color color)
changes the border color of given object to given color.
|
Modifier and Type | Method and Description |
---|---|
void |
CpsAPI.setBorderColorForMultObj(java.util.ArrayList<AbstractCpsObject> objects,
java.awt.Color color)
changes the borderColor for all objects in List to given color.
|
Modifier and Type | Class and Description |
---|---|
class |
CpsNode
The class "CpsNode" represents empty Objects in the system.
|
class |
HolonObject
The class HolonObject represents any Object on the system which capability of
injecting or consuming energy on the network, for instance a house or a power
plant.
|
class |
HolonSwitch
The class HolonSwitch represents a Switch, which can be turned on and off.
|
class |
HolonTransformer
The class HolonTransformer represents a Transformer that transforms a flow to a lower flow.
|
Modifier and Type | Method and Description |
---|---|
AbstractCpsObject |
CpsEdge.getA()
Getter for the Source.
|
AbstractCpsObject |
CpsEdge.getB()
Getter for the destination.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<AbstractCpsObject> |
Category.getObjects()
Getter for all CpsObjects.
|
Modifier and Type | Method and Description |
---|---|
void |
CpsEdge.setA(AbstractCpsObject a)
Set the Source to a new one.
|
void |
CpsEdge.setB(AbstractCpsObject b)
Set the Destination to a new one.
|
Modifier and Type | Method and Description |
---|---|
void |
Category.setObjects(java.util.ArrayList<AbstractCpsObject> objects)
Set a new ArrayList of CpsObjects.
|
Constructor and Description |
---|
AbstractCpsObject(AbstractCpsObject obj)
Constructor for a new CpsObject with an unique ID (This constructor
correspond to the interaction between the Categories and Canvas)-->
actually the "new" Object is a copy.
|
CpsEdge(AbstractCpsObject a,
AbstractCpsObject b)
Constructor without max. capacity (by default as 100)
|
CpsEdge(AbstractCpsObject a,
AbstractCpsObject b,
float maxCap)
Constructor with a user-defined max. capacity
|
HolonObject(AbstractCpsObject obj)
Contructor of a copy of an Object.
|
HolonSwitch(AbstractCpsObject obj)
Create a copy of an existing HolonSwitch.
|
HolonTransformer(AbstractCpsObject obj)
Copy of the Object.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectListener.onChange(java.util.ArrayList<AbstractCpsObject> objects)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
PraktikumHolonsAdapter.generateObjects(java.util.ArrayList<AbstractCpsObject> arr)
Generate Sequence of Objects from A - ZZZ.
|
Modifier and Type | Method and Description |
---|---|
AbstractCpsObject |
MultiPurposeController.searchByID(int id)
Search for Object by ID.
|
AbstractCpsObject |
Control.searchByID(int id)
Search for Object by ID.
|
AbstractCpsObject |
Control.searchCategoryObject(java.lang.String category,
java.lang.String object)
Search for Object in a Category.
|
AbstractCpsObject |
MultiPurposeController.searchCatObj(Category category,
java.lang.String object)
Search for Object in a Category.
|
Modifier and Type | Method and Description |
---|---|
void |
CanvasController.addNewObject(AbstractCpsObject object)
Add a new Object.
|
void |
CanvasController.addObject(AbstractCpsObject object)
Add an CpsObject to the model and notify the ObjectListener for update.
|
void |
CategoryController.addObject(Category category,
AbstractCpsObject object)
Add Object into a Category.
|
void |
Control.addObjectCanvas(AbstractCpsObject object)
Add a new Object.
|
void |
ObjectController.addSelectedObject(AbstractCpsObject obj)
add an Object to selectedObject.
|
void |
Control.addSelectedObject(AbstractCpsObject obj)
add an Object to selectedObject.
|
SubNet |
SimulationManager.buildSubNet(AbstractCpsObject cps,
java.util.ArrayList<java.lang.Integer> visited,
SubNet sN)
recursivly generates a subnet of all objects, that one specific object is
connected to.
|
void |
Control.delCanvasObject(AbstractCpsObject obj)
Deletes an CpsObject on the Canvas and its connections.
|
void |
CanvasController.deleteObjectOnCanvas(AbstractCpsObject obj)
Deletes an CpsObject on the Canvas and its connections.
|
void |
ObjectController.deleteSelectedObject(AbstractCpsObject obj)
deletes a selectedObject.
|
void |
Control.deleteSelectedObject(AbstractCpsObject obj)
deletes a selectedObject.
|
java.lang.String |
StoreController.getObjectType(AbstractCpsObject cps)
Return the Object Type.
|
boolean |
SimulationManager.legitState(AbstractCpsObject neighbor,
AbstractCpsObject current)
is the Switch in a legitimate State.
|
void |
CategoryController.removeObject(Category category,
AbstractCpsObject cps)
Removes an Object from a Category.
|
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 |
---|---|
void |
SimulationManager.copyObjects(java.util.ArrayList<AbstractCpsObject> toCopy)
copies the data of an array of Objects.
|
void |
SimulationManager.printNodes(java.util.ArrayList<AbstractCpsObject> nodes)
Print the nodes.
|
void |
ObjectController.setClipboardObjects(java.util.ArrayList<AbstractCpsObject> list)
sets clipBoardObjects.
|
void |
Control.setClipboardObjects(java.util.ArrayList<AbstractCpsObject> list)
Sets the ClipboardObjects.
|
void |
SimulationManager.setFlowSimRec(java.util.ArrayList<AbstractCpsObject> nodes,
int iter)
Set Flow Rimulation Rec.
|
void |
SimulationManager.setPseudoTags(java.util.ArrayList<AbstractCpsObject> nodes)
Set the Pseudo Tags.
|
Modifier and Type | Method and Description |
---|---|
AbstractCpsObject |
Model.getSelectedCpsObject()
Returns the Selected Cps Object.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<AbstractCpsObject> |
Model.getClipboradObjects()
Returns all Objects in the Clipboard.
|
java.util.ArrayList<AbstractCpsObject> |
Model.getObjectsOnCanvas()
Returns all Objects on the Canvas.
|
java.util.ArrayList<AbstractCpsObject> |
Model.getSelectedCpsObjects()
Returns all selected Objects on the Canvas.
|
Modifier and Type | Method and Description |
---|---|
void |
Model.setSelectedCpsObject(AbstractCpsObject selectedCpsObject)
Set the Selected Objecs.
|
Modifier and Type | Method and Description |
---|---|
void |
Model.setClipboradObjects(java.util.ArrayList<AbstractCpsObject> c)
Sets the ClipboardObjects.
|
void |
Model.setObjectsOnCanvas(java.util.ArrayList<AbstractCpsObject> objectsOnCanvas)
Sets all Objects on the Canvas.
|
Modifier and Type | Field and Description |
---|---|
AbstractCpsObject |
MyCanvas.tempCps |
Modifier and Type | Method and Description |
---|---|
AbstractCpsObject |
SearchPopUp.getObj(int idx)
get the Object with the specific ID.
|
Modifier and Type | Method and Description |
---|---|
void |
SearchPopUp.renameObj(AbstractCpsObject obj,
java.lang.String name)
Rename an Object.
|
void |
SearchPopUp.selectObj(AbstractCpsObject obj)
add the searched Objects to the Selected Objects.
|
void |
AddElementPopUp.setActualCps(AbstractCpsObject cps)
Sets the actual Cps.
|
Constructor and Description |
---|
AddObjectPopUp(boolean edit,
AbstractCpsObject obj,
java.lang.String cat)
Create the dialog.
|