![]() |
||
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.NamedRange
public class NamedRange
Encapsulates the object that represents a named range
Method Summary | |
---|---|
Cell |
getCell(int rowIndex,
int columnIndex)
Gets Cell object in this range. |
Cell[][] |
getCells()
Gets all cells in the range. |
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. |
java.lang.String |
getText()
Gets the name of the 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. |
void |
setText(java.lang.String text)
Sets the name of the range. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Cell getCell(int rowIndex, int columnIndex)
rowIndex
- row index in this range, zero based.columnIndex
- column index in this range, zero based.
java.lang.IllegalArgumentException
- if row or column index is out of range.public Cell[][] getCells()
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 java.lang.String getText()
public void setText(java.lang.String text)
java.lang.IllegalArgumentException
- if text is invalid.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |