Example:
# Create Cell Area ca = CellArea() ca.StartRow = 0 ca.EndRow = 0 ca.StartColumn = 0 ca.EndColumn = 0
Field Summary | ||
---|---|---|
int | StartRow | |
Gets or set the start row of this area.
|
||
int | EndRow | |
Gets or set the end row of this area.
|
||
int | StartColumn | |
Gets or set the start column of this area.
|
||
int | EndColumn | |
Gets or set the end column of this area.
|
Constructor Summary |
---|
CellArea()
|
Method Summary | ||
---|---|---|
method | compareTo(obj) | |
Compare two CellArea objects according to their top-left corner.
|
||
static method | createCellArea(startRow, startColumn, endRow, endColumn) | |
Creates a cell area.
|
||
static method | createCellArea(startCellName, endCellName) | |
Creates a cell area.
|
||
method | toString() | |
Returns a string represents the current cell area object.
|
int StartRow
int EndRow
int StartColumn
int EndColumn
int compareTo(obj)
obj: Object
- String toString()
static CellArea createCellArea(startRow, startColumn, endRow, endColumn)
startRow: int
- The start row.startColumn: int
- The start column.endRow: int
- The end row.endColumn: int
- The end column.static CellArea createCellArea(startCellName, endCellName)
startCellName: String
- The top-left cell of the range.endCellName: String
- The bottom-right cell of the range.