GRIDCELL
- the grid cell type (e.g. SWT or JavaFX grid cell)public abstract class AbstractGridDescription<GRIDCELL extends AbstractGridCell<?>> extends Object
AbstractGridDescription
describes the grid of the renderer using a list of GridCells
and the number of rows and columns it has.Constructor and Description |
---|
AbstractGridDescription()
Creating an empty grid.
|
AbstractGridDescription(int rows,
int columns,
List<GRIDCELL> grid)
Creating a filled grid.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumns()
Number of columns in this grid.
|
List<GRIDCELL> |
getGrid()
The
GridCells describing the grid. |
int |
getRows()
Number of rows in this Grid.
|
void |
setColumns(int columns)
Sets the number of columns.
|
void |
setGrid(List<GRIDCELL> grid)
List of
GridCells . |
void |
setRows(int rows)
Sets the number of rows.
|
public int getRows()
public int getColumns()
public void setGrid(List<GRIDCELL> grid)
GridCells
.grid
- the grid to setpublic void setRows(int rows)
rows
- the rows to setpublic void setColumns(int columns)
columns
- the columns to setCopyright © 2019. All rights reserved.