if (! isAllocationValid()) layout(a.width, a.height);  a.x += offsetsX[index]; a.y += offsetsY[index]; a.width = spansX[index]; a.height = spansY[index];
  protected void childAllocation(int index, Rectangle a)  {    // TODO: Implement this properly.  }