public class Grid extends Object
| Constructor and Description |
|---|
Grid(int rowCount,
int columnCount) |
Grid(int rowCount,
int columnCount,
ArrayList<DataRow> rows)
*
Constructor *
*
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnCount() |
int |
getRowCount() |
ArrayList<DataRow> |
getRows() |
void |
print(DataCell<?>[][] grid)
Debug function to print the Grid.
|
void |
setColumnCount(int columnCount) |
void |
setRowCount(int rowCount) |
void |
setRows(ArrayList<DataRow> rows) |
void |
spanCol(int count,
int rowIndex,
int colIndex)
Span in column the cell situated at rowIndex and colIndex
by the number count
|
void |
spanRow(int count,
int rowIndex,
int colIndex)
Span in row the cell situated at rowIndex and colIndex
by the number count
|
public void spanRow(int count,
int rowIndex,
int colIndex)
count - rowIndex - colIndex - public void spanCol(int count,
int rowIndex,
int colIndex)
count - rowIndex - colIndex - public void setRowCount(int rowCount)
public int getRowCount()
public void setColumnCount(int columnCount)
public int getColumnCount()
public void print(DataCell<?>[][] grid)
grid -