public String toString() {
    String str = switch (getAlignment()) {
      case TOP -> ",align=top";
      case MIDDLE -> ",align=middle";
      case BOTTOM -> ",align=bottom";
      default -> "";
    };
    return getClass().getSimpleName() +
           "[hgap=" + hGap +
           ",vgap=" + vGap +
           ",myVerticalFill=" + myVerticalFill +
           ",myHorizontalFill=" + myHorizontalFill +
           str + "]";
  }
public String toString()