code: public static LayoutData createLayoutData(
              Alignment horizontalAlignment,
              Alignment verticalAlignment,
              boolean grabExtraHorizontalSpace,
              boolean grabExtraVerticalSpace,
              int horizontalSpan,
              int verticalSpan) {
  
          return new GridLayoutData(
                  horizontalAlignment,
                  verticalAlignment,
                  grabExtraHorizontalSpace,
                  grabExtraVerticalSpace,
                  horizontalSpan,
                  verticalSpan);
      }
docs: Creates a layout data object for {@code GridLayout}:s that specify the horizontal and vertical alignment for the
  component in case the cell space is larger than the preferred size of the component. This method also has fields
  for indicating that the component would like to take more space if available to the container. For example, if
  the container is assigned is assigned an area of 50x15, but all the child components in the grid together only
  asks for 40x10, the remaining 10 columns and 5 rows will be empty. If just a single component asks for extra
  space horizontally and/or vertically, the grid will expand out to fill the entire area and the text space will be
  assigned to the component that asked for it. It also puts in data on how many rows and/or columns the component
  should span.
  
  @param horizontalAlignment Horizontal alignment strategy
  @param verticalAlignment Vertical alignment strategy
  @param grabExtraHorizontalSpace If set to {@code true}, this component will ask to be assigned extra horizontal
  space if there is any to assign
  @param grabExtraVerticalSpace If set to {@code true}, this component will ask to be assigned extra vertical
  space if there is any to assign
  @param horizontalSpan How many "cells" this component wants to span horizontally
  @param verticalSpan How many "cells" this component wants to span vertically
  @return The layout data object containing the specified alignments, size requirements and cell spanning