|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uci.ics.jung.algorithms.layout.AbstractLayout<V,E>
edu.uci.ics.jung.algorithms.layout.StaticLayout<V,E>
V
- E
- public class StaticLayout<V,E>
StaticLayout places the vertices in the locations specified by its Transformer
Transformer
Field Summary |
---|
Fields inherited from class edu.uci.ics.jung.algorithms.layout.AbstractLayout |
---|
graph, initialized, locations, size |
Constructor Summary | |
---|---|
StaticLayout(Graph<V,E> graph)
Creates an instance for the specified graph and default size; vertex locations are randomly assigned. |
|
StaticLayout(Graph<V,E> graph,
Dimension size)
Creates an instance for the specified graph and size. |
|
StaticLayout(Graph<V,E> graph,
org.apache.commons.collections15.Transformer<V,Point2D> initializer)
Creates an instance for the specified graph and locations, with default size. |
|
StaticLayout(Graph<V,E> graph,
org.apache.commons.collections15.Transformer<V,Point2D> initializer,
Dimension size)
Creates an instance for the specified graph, locations, and size. |
Method Summary | |
---|---|
void |
initialize()
Initializes fields in the node that may not have been set during the constructor. |
void |
reset()
|
Methods inherited from class edu.uci.ics.jung.algorithms.layout.AbstractLayout |
---|
getGraph, getSize, getX, getY, isLocked, lock, lock, offsetVertex, setGraph, setInitializer, setLocation, setLocation, setSize, transform |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StaticLayout(Graph<V,E> graph, org.apache.commons.collections15.Transformer<V,Point2D> initializer, Dimension size)
public StaticLayout(Graph<V,E> graph, org.apache.commons.collections15.Transformer<V,Point2D> initializer)
public StaticLayout(Graph<V,E> graph)
public StaticLayout(Graph<V,E> graph, Dimension size)
Method Detail |
---|
public void initialize()
Layout
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |