org.eclipse.emfforms.spi.swt.core.layout
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>
A SWTGridDescription describes the grid of the renderer using a list of GridCells and the
number of rows and columns it has.
Use the GridDescriptionFactory to create GridDescriptions.
- Since:
- 1.3
- Author:
- Eugen Neufeld
SWTGridDescription
public SWTGridDescription()
- Creating an empty grid.
SWTGridDescription
public SWTGridDescription(int rows,
int columns,
List<SWTGridCell> grid)
- Creating a filled grid.
- Parameters:
rows - number of rows in this descriptioncolumns - number of columns in this descriptiongrid - the List of GridCells describing the grid
copy
public SWTGridDescription copy()
- Creates a copy of the grid.
- Returns:
- a copy of the grid
Copyright © 2015. All Rights Reserved.