public class CachingLayout<V,E> extends LayoutDecorator<V,E> implements Caching
LayoutDecorator| Modifier and Type | Field and Description |
|---|---|
protected Map<V,Point2D> |
locationMap |
delegate| Constructor and Description |
|---|
CachingLayout(Layout<V,E> delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
clear cache
|
void |
init()
ititialize resources for a cache
|
void |
setGraph(Graph<V,E> graph)
setter for graph
|
Point2D |
transform(V v) |
done, getDelegate, getGraph, getSize, initialize, isLocked, lock, reset, setDelegate, setInitializer, setLocation, setSize, steppublic void setGraph(Graph<V,E> graph)
Layoutpublic void clear()
Cachingpublic void init()
CachingCopyright © 2015. All rights reserved.