|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuchicago.src.sim.gui.AbstractGraphLayout
uchicago.src.sim.gui.CircularGraphLayout
public class CircularGraphLayout
| Field Summary |
|---|
| Fields inherited from class uchicago.src.sim.gui.AbstractGraphLayout |
|---|
height, nodeList, update, width |
| Constructor Summary | |
|---|---|
CircularGraphLayout(int width,
int height)
|
|
CircularGraphLayout(java.util.List nodes,
int width,
int height)
|
|
| Method Summary | |
|---|---|
void |
setPad(int p)
Sets the number of pixels to shrink radius by. |
void |
updateLayout()
Updates the layout of this graph by setting the x, y coordinate of each DrawableNonGridNode in the current list of nodes. |
| Methods inherited from class uchicago.src.sim.gui.AbstractGraphLayout |
|---|
actionPerformed, appendToList, appendToList, getHeight, getNodeList, getUpdate, getWidth, setList, setUpdate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CircularGraphLayout(int width,
int height)
public CircularGraphLayout(java.util.List nodes,
int width,
int height)
| Method Detail |
|---|
public void setPad(int p)
public void updateLayout()
AbstractGraphLayout
updateLayout in interface GraphLayoutupdateLayout in class AbstractGraphLayout
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||