Provides support for layout generation.
-
GridDataFactory.align(int hAlign,
int vAlign)
Sets the alignment of the control within its cell.
Creates a copy of the receiver.
GridDataFactory.create(int style)
Creates a new GridDataFactory initialized with given style.
Creates a new GridDataFactory that creates copies of the given GridData
by default.
Returns a GridDataFactory initialized with heuristicly generated defaults for the given control.
GridDataFactory.exclude(boolean shouldExclude)
Instructs the GridLayout to ignore this control when performing layouts.
Creates a GridDataFactory initialized with defaults that will cause
the control to fill its cell.
GridDataFactory.grab(boolean horizontal,
boolean vertical)
Determines whether extra horizontal or vertical space should be allocated to
this control's column when the layout resizes.
GridDataFactory.hint(int xHint,
int yHint)
Sets the width and height hints.
Sets the width and height hints.
GridDataFactory.indent(int hIndent,
int vIndent)
Sets the indent of the control within the cell.
Sets the indent of the control within the cell.
GridDataFactory.minSize(int minX,
int minY)
Sets the minimum size for the control.
Sets the minimum size for the control.
GridDataFactory.span(int hSpan,
int vSpan)
Creates a new GridDataFactory initialized with the SWT defaults.