399400401402403404405406
} } private JComponent getComponentByConstraint(String string) { Node node = multiSplitLayout.getNodeForName(string); return (JComponent) multiSplitLayout.getComponentForNode(node); }
213214215216217218219220221222
if ( n instanceof Leaf ) rects.add( n.getBounds()); else if ( n instanceof Split ) { List children = ((Split)n).getChildren(); for ( int i = 0; i < children.size(); i++ ) { Node nc = (Node)children.get( i ); addChildAreas( rects, nc ); } } }