| Modifier and Type | Field and Description |
|---|---|
protected Graph<V,E> |
graph |
protected Rectangle2D[][] |
grid |
protected Layout<V,E> |
layout |
| Constructor and Description |
|---|
FastRenderingLayout(Layout<V,E> layout) |
| Modifier and Type | Method and Description |
|---|---|
Point2D |
apply(V arg0) |
Graph<V,E> |
getGraph() |
Dimension |
getSize() |
void |
initialize() |
boolean |
isLocked(V v) |
void |
lock(V v,
boolean state) |
void |
reset() |
void |
setGraph(Graph<V,E> graph) |
void |
setInitializer(com.google.common.base.Function<V,Point2D> initializer) |
void |
setLocation(V v,
Point2D location) |
void |
setSize(Dimension d) |
protected Rectangle2D[][] grid
public void initialize()
initialize in interface Layout<V,E>public void setInitializer(com.google.common.base.Function<V,Point2D> initializer)
setInitializer in interface Layout<V,E>public void setLocation(V v, Point2D location)
setLocation in interface Layout<V,E>Copyright © 2016. All rights reserved.