(int) layoutPool.getMinimumSpan(axis));
(int) layoutPool.getPreferredSpan(axis));
  protected SizeRequirements calculateMinorAxisRequirements(int axis,                                                            SizeRequirements r)  {    SizeRequirements res = r;    if (res == null)      res = new SizeRequirements();    res.minimum = (int) layoutPool.getMinimumSpan(axis);    res.preferred = Math.max(res.minimum,                             (int) layoutPool.getMinimumSpan(axis));    res.maximum = Integer.MAX_VALUE;    res.alignment = 0.5F;    return res;  }