![]() |
||
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.Row
public class Row
Represents a row of a spreadsheet.
Method Summary | |
---|---|
Cell |
getCell(int columnIndex)
Gets the cell at the specified column index. |
java.util.Iterator |
getCellIterator()
Returns an iterator which can iterate all defined cells in this row. |
short |
getFirstCellIndex()
Gets the index of the first defined row. |
float |
getHeight()
Gets the height of the row in points. |
short |
getLastCellIndex()
Gets the index of the last defined row. |
int |
getRowIndex()
Gets the row index. |
Style |
getStyle()
Gets the style of the row. |
boolean |
isHidden()
Checks if the row is hidden. |
void |
removeCell(int columnIndex)
Removes the cell at the specified column index. |
void |
setDefaultHeight()
Invalidate the row height setting. |
void |
setHeight(float height)
Sets the row height, in points. |
void |
setHidden(boolean isHidden)
Sets whether the row to be hidden or not. |
void |
setStyle(int startColumn,
int endColumn,
Style style)
Sets style for a continuous range of cells of the row. |
void |
setStyle(Style style)
Sets the style of the row. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getRowIndex()
ExcelException
- if the row has been removed from the worksheet.public Cell getCell(int columnIndex)
columnIndex
- the column index.
ExcelException
- if the row has been removed from the worksheet.public void removeCell(int columnIndex)
columnIndex
- the column index
ExcelException
- if the row has been removed from the worksheet.public Style getStyle()
ExcelException
- if the row has been removed from the worksheet.public void setStyle(Style style)
style
- style of the row.public float getHeight()
public void setHeight(float height)
height
- height of the row, in points(0-409).
java.lang.IllegalArgumentException
- if the row height is invalid.public void setDefaultHeight()
public boolean isHidden()
public void setHidden(boolean isHidden)
isHidden
- true for hidden.public short getFirstCellIndex()
public short getLastCellIndex()
public java.util.Iterator getCellIterator()
ExcelException
- if the row has been removed from the worksheet.public void setStyle(int startColumn, int endColumn, Style style)
startColumn
- start column index.endColumn
- end column index.style
- the style to set.
java.lang.IllegalArgumentException
- if any of the column indexes is out of range.
ExcelException
- if the row has been removed from the worksheet.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |