public void setAllBounds(Rect r) { for (Node n : nodes) { n.setBounds(r); } }
private void setAllBounds(ArrayList<Node> nodes, Rect myBounds) { for (Node n : nodes) { n.setBounds(myBounds); } }