SizeRequirements[] childReqs = getChildRequirements(axis);
updateChildRequirements(axis); updateRequirements(axis);
  protected void layoutMinorAxis(int targetSpan, int axis, int[] offsets,                                 int[] spans)  {    SizeRequirements[] childReqs = getChildRequirements(axis);    // Calculate the spans and offsets using the SizeRequirements uility    // methods.    SizeRequirements.calculateAlignedPositions(targetSpan, requirements[axis],                                               childReqs, offsets, spans);    layoutValid[axis] = true;  }