public class LaneGrid extends java.lang.Object implements SwimlaneGrid
SwimlaneGrid which operates on a Grid object.| Constructor and Description |
|---|
LaneGrid(Grid grid)
Initializes a new instance of the
LaneGrid class. |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnCount()
SwimlaneGrid.getColumnCount() implementation. |
float |
getColumnWidth(int index)
SwimlaneGrid.getColumnCount() implementation. |
int |
getRowCount()
SwimlaneGrid.getRowCount() implementation. |
float |
getRowHeight(int index)
SwimlaneGrid.getRowHeight(int) implementation. |
void |
setColumnCount(int value)
SwimlaneGrid.setColumnCount(int) implementation. |
void |
setColumnWidth(int index,
float value)
SwimlaneGrid.setColumnCount(int) implementation. |
void |
setLeftMargin(float value)
SwimlaneGrid.setLeftMargin(float) implementation. |
void |
setRowCount(int value)
SwimlaneGrid.setRowCount(int) implementation. |
void |
setRowHeight(int index,
float value)
SwimlaneGrid.setRowHeight(int, float) implementation. |
void |
setTopMargin(float value)
SwimlaneGrid.setTopMargin(float) implementation. |
public void setRowCount(int value)
SwimlaneGrid.setRowCount(int) implementation.setRowCount in interface SwimlaneGridvalue - A non-negative integer value specifying the number of rows.public void setColumnCount(int value)
SwimlaneGrid.setColumnCount(int) implementation.setColumnCount in interface SwimlaneGridvalue - A non-negative integer value specifying the number of columns.public int getRowCount()
SwimlaneGrid.getRowCount() implementation.getRowCount in interface SwimlaneGridpublic int getColumnCount()
SwimlaneGrid.getColumnCount() implementation.getColumnCount in interface SwimlaneGridpublic void setRowHeight(int index,
float value)
SwimlaneGrid.setRowHeight(int, float) implementation.setRowHeight in interface SwimlaneGridindex - The zero-based index of the row.value - The new height of the row.public void setColumnWidth(int index,
float value)
SwimlaneGrid.setColumnCount(int) implementation.setColumnWidth in interface SwimlaneGridindex - The zero-based index of the column.value - The new width of the column.public float getRowHeight(int index)
SwimlaneGrid.getRowHeight(int) implementation.getRowHeight in interface SwimlaneGridindex - The zero-based index of the row.public float getColumnWidth(int index)
SwimlaneGrid.getColumnCount() implementation.getColumnWidth in interface SwimlaneGridindex - The zero-based index of the column.public void setLeftMargin(float value)
SwimlaneGrid.setLeftMargin(float) implementation.setLeftMargin in interface SwimlaneGridvalue - The distance between the left side of the grid and the diagram bounds.public void setTopMargin(float value)
SwimlaneGrid.setTopMargin(float) implementation.setTopMargin in interface SwimlaneGridvalue - The distance between the top side of the grid and the diagram bounds.