public class LaneGrid extends java.lang.Object implements SwimlaneGrid
SwimlaneGrid
which operates on a Grid
object.Constructor and Description |
---|
LaneGrid(com.mindfusion.diagramming.lanes.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 LaneGrid(com.mindfusion.diagramming.lanes.Grid grid)
LaneGrid
class.public void setRowCount(int value)
SwimlaneGrid.setRowCount(int)
implementation.setRowCount
in interface SwimlaneGrid
value
- A non-negative integer value specifying the number of rows.public void setColumnCount(int value)
SwimlaneGrid.setColumnCount(int)
implementation.setColumnCount
in interface SwimlaneGrid
value
- A non-negative integer value specifying the number of columns.public int getRowCount()
SwimlaneGrid.getRowCount()
implementation.getRowCount
in interface SwimlaneGrid
public int getColumnCount()
SwimlaneGrid.getColumnCount()
implementation.getColumnCount
in interface SwimlaneGrid
public void setRowHeight(int index, float value)
SwimlaneGrid.setRowHeight(int, float)
implementation.setRowHeight
in interface SwimlaneGrid
index
- 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 SwimlaneGrid
index
- 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 SwimlaneGrid
index
- The zero-based index of the row.public float getColumnWidth(int index)
SwimlaneGrid.getColumnCount()
implementation.getColumnWidth
in interface SwimlaneGrid
index
- The zero-based index of the column.public void setLeftMargin(float value)
SwimlaneGrid.setLeftMargin(float)
implementation.setLeftMargin
in interface SwimlaneGrid
value
- 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 SwimlaneGrid
value
- The distance between the top side of the grid and the diagram bounds.