GridData.this

Constructs a new instance of GridData according to the parameters.

@param horizontalAlignment how control will be positioned horizontally within a cell, one of: SWT.BEGINNING (or SWT.LEFT), SWT.CENTER, SWT.END (or SWT.RIGHT), or SWT.FILL @param verticalAlignment how control will be positioned vertically within a cell, one of: SWT.BEGINNING (or SWT.TOP), SWT.CENTER, SWT.END (or SWT.BOTTOM), or SWT.FILL @param grabExcessHorizontalSpace whether cell will be made wide enough to fit the remaining horizontal space @param grabExcessVerticalSpace whether cell will be made high enough to fit the remaining vertical space @param horizontalSpan the number of column cells that the control will take up @param verticalSpan the number of row cells that the control will take up

@since 3.0

  1. this()
  2. this(int style)
  3. this(int horizontalAlignment, int verticalAlignment, bool grabExcessHorizontalSpace, bool grabExcessVerticalSpace)
  4. this(int horizontalAlignment, int verticalAlignment, bool grabExcessHorizontalSpace, bool grabExcessVerticalSpace, int horizontalSpan, int verticalSpan)
  5. this(int width, int height)

Meta