|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectch.epfl.craft.maglib.magnet.DefaultMagnetLayout
ch.epfl.craft.maglib.magnet.CentralMagnetLayout
This class will layout the nodes on the MagnetView it controls.
It will choose the position of each node, and the which node is visible.
| Field Summary |
| Fields inherited from class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout |
boundsOfView, continueupdating, currentThread, listeners, magnetModel, numberOfVisibleNodes |
| Constructor Summary | |
CentralMagnetLayout()
|
|
| Method Summary | |
void |
run()
Runs the layout algorithm. |
| Methods inherited from class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout |
addListener, getNumberOfVisibleNodes, modelHasChanged, removeListener, setBounds, setMagnetModel, setNumberOfVisibleNodes, stopUpdatingPositions, updatePositions |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ch.epfl.craft.maglib.magnet.MagnetLayout |
addListener, getNumberOfVisibleNodes, removeListener, setBounds, setMagnetModel, setNumberOfVisibleNodes, stopUpdatingPositions, updatePositions |
| Methods inherited from interface ch.epfl.craft.maglib.magnet.MagnetModelListener |
modelHasChanged |
| Constructor Detail |
public CentralMagnetLayout()
| Method Detail |
public void run()
run in interface java.lang.Runnablerun in class DefaultMagnetLayout
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||