|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecp.view.model.common.AbstractGridDescription<GRIDCELL>
GRIDCELL
- the grid cell type (e.g. SWT or JavaFX grid cell)public abstract class AbstractGridDescription<GRIDCELL extends AbstractGridCell<?>>
A AbstractGridDescription
describes the grid of the renderer using a list of GridCells
and the number of rows and columns it has.
Constructor Summary | |
---|---|
AbstractGridDescription()
Creating an empty grid. |
|
AbstractGridDescription(int rows,
int columns,
List<GRIDCELL> grid)
Creating a filled grid. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractGridDescription()
public AbstractGridDescription(int rows, int columns, List<GRIDCELL> grid)
rows
- number of rows in this descriptioncolumns
- number of columns in this descriptiongrid
- the List of GridCells
describing the gridMethod Detail |
---|
public List<GRIDCELL> getGrid()
GridCells
describing the grid.
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 set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |