|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Layout<V,E>
| Method Summary | |
|---|---|
Graph<V,E> |
getGraph()
Returns the full graph (the one that was passed in at construction time) that this Layout refers to. |
javax.media.j3d.BoundingSphere |
getSize()
Returns the current size of the visualization's space. |
void |
initialize()
Initializes fields in the node that may not have been set during the constructor. |
boolean |
isLocked(V v)
Returns true if the position of vertex v
is locked. |
void |
lock(V v,
boolean state)
Sets a flag which fixes this vertex in place. |
void |
reset()
|
void |
setGraph(Graph<V,E> graph)
setter for graph |
void |
setInitializer(
provides initial locations for all vertices. |
void |
setLocation(V v,
javax.vecmath.Point3f location)
set the location of a vertex |
void |
setSize(javax.media.j3d.BoundingSphere d)
|
| Method Detail |
|---|
void initialize()
void setInitializer(initializer)
initializer - void setGraph(Graph<V,E> graph)
graph - Graph<V,E> getGraph()
void reset()
void setSize(javax.media.j3d.BoundingSphere d)
d - javax.media.j3d.BoundingSphere getSize()
void lock(V v,
boolean state)
v - vertexboolean isLocked(V v)
true if the position of vertex v
is locked.
void setLocation(V v,
javax.vecmath.Point3f location)
v - location -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||