public final class GridDescriptionFactory extends Object
GridDescriptions.| Modifier and Type | Field and Description |
|---|---|
static GridDescriptionFactory |
INSTANCE
The static Instance of the Factory.
|
| Modifier and Type | Method and Description |
|---|---|
SWTGridDescription |
createCompactGrid(boolean label,
boolean validation,
AbstractSWTRenderer<? extends VElement> renderer)
Creates the default compact grid.
|
SWTGridDescription |
createEmptyGridDescription()
Creates an empty grid description.
|
SWTGridDescription |
createSimpleGrid(int rows,
int columns,
AbstractSWTRenderer<? extends VElement> renderer)
Creates a simple grid based on the number of rows and columns provided.
|
public static final GridDescriptionFactory INSTANCE
public SWTGridDescription createEmptyGridDescription()
SWTGridDescriptionpublic SWTGridDescription createSimpleGrid(int rows, int columns, AbstractSWTRenderer<? extends VElement> renderer)
rows - the number of rows in this gridcolumns - the number of columns in this gridrenderer - the AbstractSWTRendererSWTGridDescriptionpublic SWTGridDescription createCompactGrid(boolean label, boolean validation, AbstractSWTRenderer<? extends VElement> renderer)
label - indicates whether a label cell shall be addedvalidation - indicates whether a validation cell shall be addedrenderer - the AbstractSWTRendererSWTGridDescriptionCopyright © 2018. All rights reserved.