public class SWTGridDescription extends AbstractGridDescription<SWTGridCell>
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
.Constructor and Description |
---|
SWTGridDescription()
Creating an empty grid.
|
SWTGridDescription(int rows,
int columns,
List<SWTGridCell> grid)
Creating a filled grid.
|
Modifier and Type | Method and Description |
---|---|
SWTGridDescription |
copy()
Creates a copy of the grid.
|
getColumns, getGrid, getRows, setColumns, setGrid, setRows
public SWTGridDescription()
public SWTGridDescription(int rows, int columns, List<SWTGridCell> grid)
rows
- number of rows in this descriptioncolumns
- number of columns in this descriptiongrid
- the List of GridCells
describing the gridpublic SWTGridDescription copy()
Copyright © 2018. All rights reserved.