public abstract class DefaultProjectGridImpl extends ProjectGrid
ProjectGrid
backed by map.Constructor and Description |
---|
DefaultProjectGridImpl() |
Modifier and Type | Method and Description |
---|---|
ProjectForm |
get(int row,
int col)
Gets the project at the specified location.
|
int |
getColumns()
Width of the grid.
|
int |
getRows()
Height of the grid.
|
void |
set(int row,
int col,
ProjectForm p)
Mutable, but only for
ProjectGridBuilder |
builds
getNextAvailableRow, isEmpty
public void set(int row, int col, ProjectForm p)
ProjectGridBuilder
row
- position of the formcol
- position of the formp
- The project to add. null to remove the value.public ProjectForm get(int row, int col)
get
in class Grid<ProjectForm>
row
- position of the formcol
- position of the formpublic int getColumns()
Grid
getColumns
in class Grid<ProjectForm>
public int getRows()
Grid
getRows
in class Grid<ProjectForm>
Copyright © 2004–2017. All rights reserved.