public static LayoutData createLayoutData(
            Alignment horizontalAlignment,
            Alignment verticalAlignment,
            boolean grabExtraHorizontalSpace,
            boolean grabExtraVerticalSpace) {

        return createLayoutData(horizontalAlignment, verticalAlignment, grabExtraHorizontalSpace, grabExtraVerticalSpace, 1, 1);
    }
public static LayoutData createLayoutData ( Alignment horizontalAlignment , Alignment verticalAlignment , boolean grabExtraHorizontalSpace , boolean grabExtraVerticalSpace ) { return createLayoutData ( horizontalAlignment , verticalAlignment , grabExtraHorizontalSpace , grabExtraVerticalSpace , 1 , 1 ) ; }
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.

@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
@return The layout data object containing the specified alignments and size requirements