@Override
  public void layoutContainer(Container parent) {
    if (myVertical) {
      layoutVContainer(parent);
    }
    else {
      layoutHContainer(parent);
    }
  }
@Override
  public void layoutContainer(Container parent)