Class SWTGridDescription
- java.lang.Object
-
- org.eclipse.emf.ecp.view.model.common.AbstractGridDescription<SWTGridCell>
-
- org.eclipse.emfforms.spi.swt.core.layout.SWTGridDescription
-
public class SWTGridDescription extends AbstractGridDescription<SWTGridCell>
ASWTGridDescription
describes the grid of the renderer using a list ofGridCells
and the number of rows and columns it has. Use theGridDescriptionFactory
to createGridDescriptions
.- Since:
- 1.3
- Author:
- Eugen Neufeld
-
-
Constructor Summary
Constructors Constructor Description SWTGridDescription()
Creating an empty grid.SWTGridDescription(int rows, int columns, java.util.List<SWTGridCell> grid)
Creating a filled grid.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SWTGridDescription
copy()
Creates a copy of the grid.-
Methods inherited from class org.eclipse.emf.ecp.view.model.common.AbstractGridDescription
getColumns, getGrid, getRows, setColumns, setGrid, setRows
-
-
-
-
Constructor Detail
-
SWTGridDescription
public SWTGridDescription()
Creating an empty grid.
-
SWTGridDescription
public SWTGridDescription(int rows, int columns, java.util.List<SWTGridCell> grid)
Creating a filled grid.- Parameters:
rows
- number of rows in this descriptioncolumns
- number of columns in this descriptiongrid
- the List ofGridCells
describing the grid
-
-
Method Detail
-
copy
public SWTGridDescription copy()
Creates a copy of the grid.- Returns:
- a copy of the grid
-
-