Class FragmentTower
java.lang.Object
de.saar.chorus.domgraph.layout.domgraphlayout.FragmentTower
A special part for the layout of a dominance graph.
TODO Insert a tower definition here.
- Author:
- Alexander Koller, Michaela Regneri
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddDominanceParent(String parent) Add a dominance father to the towergetBox()Compute the bounding box of the tower.booleanisEmpty()voidTODO comment me!
-
Method Details
-
translate
TODO comment me!- Parameters:
xoff-yoff-xMap-yMap-
-
getBox
Compute the bounding box of the tower. If the tower hasn't been placed at a specific screen position yet, the box will start at (0,0).- Returns:
- the bounding box
-
getDominanceParents
- Returns:
- all dominance parents of the tower
-
addDominanceParent
Add a dominance father to the tower- Parameters:
parent- the parent to add
-
isEmpty
public boolean isEmpty()- Returns:
- true if there are no fragments in the tower
-