* container JScrollPane once a LayoutCompleteEvent is received from the
* LayoutEngine. Also, it updates positions of the Bayesian network stored
* in m_BayesNet.
*/
public void layoutCompleted(LayoutCompleteEvent le) {
LayoutEngine layoutEngine = m_layoutEngine; // (LayoutEngine) le.getSource();
FastVector nPosX = new FastVector(m_BayesNet.getNrOfNodes());
FastVector nPosY = new FastVector(m_BayesNet.getNrOfNodes());
for (int iNode = 0; iNode < layoutEngine.getNodes().size(); iNode++) {
GraphNode gNode = (GraphNode) layoutEngine.getNodes().elementAt(iNode);
if (gNode.nodeType == GraphNode.NORMAL) {
nPosX.addElement(gNode.x);
nPosY.addElement(gNode.y);
}
}