|
||
| 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 | |
|---|---|
void |
applyStyle(Style style,
StyleFlag flag)
Applies formattings for a whole row. |
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. |
boolean |
isUsingDefaultHeight()
Indicates whether row has default row heigt. |
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. |
void |
setUseDefaultHeight(boolean isUsingDefaultHeight)
Sets whether row has default row heigt . |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getRowIndex()
CellsException - if the row has been removed from the worksheet.public Cell getCell(int columnIndex)
columnIndex - the column index.
CellsException - if the row has been removed from the worksheet.public void removeCell(int columnIndex)
columnIndex - the column index
CellsException - if the row has been removed from the worksheet.public Style getStyle()
CellsException - if the row has been removed from the worksheet.public void setStyle(Style style)
style - style of the row.
public void applyStyle(Style style,
StyleFlag flag)
style - The style object which will be applied.flag - Flags which indicates applied formatting properties.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()
CellsException - 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.
CellsException - if the row has been removed from the worksheet.public boolean isUsingDefaultHeight()
public void setUseDefaultHeight(boolean isUsingDefaultHeight)
isUsingDefaultHeight - whether row has default row heigt.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||