![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.cells.CellArea
public class CellArea
Represents a range of cells in a worksheet.
Constructor Summary | |
---|---|
CellArea()
Default constructor. |
|
CellArea(int startRow,
int startColumn,
int endRow,
int endColumn)
Constructs an object with the given values. |
|
CellArea(java.lang.String startCellName,
java.lang.String endCellName)
Constructs an object with the given values. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object another)
|
short |
getEndColumn()
Gets the column index of the bottom right cell. |
int |
getEndRow()
Gets the row index of the bottom right cell. |
short |
getStartColumn()
Gets the column index of the top left cell. |
int |
getStartRow()
Gets the row index of the top left cell. |
boolean |
isValid()
Checks if the object represents a valid range. |
void |
setEndColumn(int endColumn)
Sets the column index of the bottom right cell. |
void |
setEndRow(int endRow)
Sets the row index of the bottom right cell. |
void |
setStartColumn(int startColumn)
Sets the column index of the top left cell. |
void |
setStartRow(int startRow)
Sets the row index of the top left cell. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CellArea(int startRow, int startColumn, int endRow, int endColumn)
startRow
- row index of the top left cell.startColumn
- column index of the top left cell.endRow
- row index of the bottom right cell.endColumn
- column index of the bottom right cell.public CellArea(java.lang.String startCellName, java.lang.String endCellName)
startCellName
- start cell name of this cell range.endCellName
- end cell name of this cell range.public CellArea()
Method Detail |
---|
public void setStartRow(int startRow)
startRow
- row index of the top left cell.
java.lang.IllegalArgumentException
- if row index is out of range.public void setStartColumn(int startColumn)
startColumn
- column index of the top left cell.
java.lang.IllegalArgumentException
- if column index is out of range.public void setEndRow(int endRow)
endRow
- row index of the bottom right cell.
java.lang.IllegalArgumentException
- if row index is out of range.public void setEndColumn(int endColumn)
endColumn
- column index of the bottom right cell.
java.lang.IllegalArgumentException
- if column index is out of range.public int getStartRow()
public short getStartColumn()
public int getEndRow()
public short getEndColumn()
public boolean isValid()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object another)
equals
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |