Constructor and Description |
---|
DefaultBuildGridImpl() |
Modifier and Type | Method and Description |
---|---|
BuildForm |
get(int row,
int col)
Obtains the project placed at the specific position.
|
int |
getColumns()
Width of the grid.
|
int |
getRows()
Height of the grid.
|
void |
set(int row,
int col,
BuildForm p)
Mutable, but only for the code that instantiates
DefaultBuildGridImpl . |
getNextAvailableRow, isEmpty
public void set(int row, int col, BuildForm p)
DefaultBuildGridImpl
.row
- position of the formcol
- position of the formp
- The build to add. null to remove the value.public BuildForm get(int row, int col)
Grid
public int getColumns()
Grid
getColumns
in class Grid<BuildForm>
Copyright © 2004–2017. All rights reserved.