public class Construction
extends java.lang.Object
Constructor and Description |
---|
Construction() |
Modifier and Type | Method and Description |
---|---|
void |
addEntity(int index,
java.lang.String name)
Add new entity
|
void |
addEntityBicluster(java.lang.String art,
int index,
java.lang.String name,
javafx.scene.layout.HBox bicluster,
Bicluster biclusterObj)
Connecting a bicluster to an existing entity
|
void |
addEntityLine(java.lang.String art,
int index,
java.lang.String name,
javafx.scene.shape.CubicCurve curve)
Connecting a curve to an existing entity
|
void |
addEntityNeighbourEntity(java.lang.String art,
int index,
java.lang.String name,
javafx.scene.layout.HBox node)
Connecting a entity to an existing entity
|
java.util.ArrayList<java.util.ArrayList<Bicluster>> |
getAllBiclusters() |
java.util.ArrayList<java.util.ArrayList<Entity>> |
getEntities() |
Entity |
getEntity(int index,
java.lang.String name) |
void |
setAllBiclusters(java.util.ArrayList<java.util.ArrayList<Bicluster>> allBiclusters) |
void |
setEntities(java.util.ArrayList<java.util.ArrayList<Entity>> entities) |
public Entity getEntity(int index, java.lang.String name)
public void addEntity(int index, java.lang.String name)
index
- - levelname
- - name of the entitypublic void addEntityLine(java.lang.String art, int index, java.lang.String name, javafx.scene.shape.CubicCurve curve)
art
- - either to the right or to the left sideindex
- - level, where the entity can be foundname
- - name of the entity where to save the curvecurve
- - the curve to be savedpublic void addEntityBicluster(java.lang.String art, int index, java.lang.String name, javafx.scene.layout.HBox bicluster, Bicluster biclusterObj)
art
- - either to the right or to the left sideindex
- - level, where the entity can be foundname
- - name of the entity where to save the biclusterbiclusterObj
- - the bicluster to be savedpublic void addEntityNeighbourEntity(java.lang.String art, int index, java.lang.String name, javafx.scene.layout.HBox node)
art
- - either to the right or to the left sideindex
- - level, where the entity can be foundname
- - name of the entity where to save the other entitynode
- - the box of the entity to be savedpublic java.util.ArrayList<java.util.ArrayList<Bicluster>> getAllBiclusters()
public void setAllBiclusters(java.util.ArrayList<java.util.ArrayList<Bicluster>> allBiclusters)
public java.util.ArrayList<java.util.ArrayList<Entity>> getEntities()
public void setEntities(java.util.ArrayList<java.util.ArrayList<Entity>> entities)