Interface Layout
-
- All Known Implementing Classes:
DefaultLayout
public interface Layout
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BoundingBoxcomputeBoundingBox(Collection<VertexRef> vertRefs)BoundingBoxgetBounds()PointgetInitialLocation(VertexRef v)PointgetLocation(VertexRef v)Map<VertexRef,Point>getLocations()voidsetLocation(VertexRef v, Point location)voidupdateLocations(Collection<VertexRef> displayVertices)
-
-
-
Method Detail
-
getLocations
Map<VertexRef,Point> getLocations()
- Returns:
- Returns an immutable copy of the current list of locations
-
getBounds
BoundingBox getBounds()
-
computeBoundingBox
BoundingBox computeBoundingBox(Collection<VertexRef> vertRefs)
-
updateLocations
void updateLocations(Collection<VertexRef> displayVertices)
-
-