![]() |
||
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.Name
com.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. |
Worksheet |
getSourceSheet()
Gets the worksheet which contains this range. |
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 |
setOutlineBorder(int borderLineType,
Color borderColor)
Sets outline border for this range. |
void |
setRefersTo(java.lang.String refersTo)
|
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 com.aspose.cells.Name |
---|
getRefersTo, getWorksheet, setInnerText |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setOutlineBorder(int borderLineType, Color borderColor)
borderLineType
- line type of border. see BorderLineType
borderColor
- color of borderpublic 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()
getText
in class Name
public void setText(java.lang.String text)
setText
in class Name
java.lang.IllegalArgumentException
- if text is invalid.public Worksheet getSourceSheet()
public void setRefersTo(java.lang.String refersTo)
setRefersTo
in class Name
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |