public class RowImpl extends AbstractIntegerSet<Cell> implements IntegerIndex, Row
Row class is a child of SheetImpl
Has a collection of CellImpl.
set| Modifier and Type | Method and Description |
|---|---|
Cell |
cell()
Returns new
CellImpl instance. |
Cell |
cell(Integer index)
Returns the
CellImpl located into indicated index column. |
Cell |
cell(String column)
Returns the
CellImpl located into indicated column. |
Set<Cell> |
cells()
Cells set.
|
Cell |
createItem(Integer index)
Internal purpose method.
|
boolean |
equals(Object o) |
Integer |
getIndex()
Gets index.
|
int |
hashCode() |
Row |
merge(Cell cell,
int numCells)
Merges the indicated cells.
|
Row |
merge(Integer index,
int numCells)
Merges the indicated cells.
|
Row |
merge(String address,
int numCells)
Merges the indicated cells.
|
Row |
nextRow()
Returns the next sibling
Row. |
Sheet |
parentSheet()
Returns the
SheetImpl where the Cell is located. |
Row |
prevRow()
Returns the previous sibling
Row. |
add, add, get, getMaxIndexpublic Cell createItem(Integer index)
Returns a new instance of a CellImpl placed
into indicated column (index).
createItem in interface IntegerSet<Cell>index - of the column where the new CellImpl will be placed.CellImpl.public Sheet parentSheet()
SheetImpl where the Cell is located.parentSheet in interface RowSheetImpl where the Cell is located.public Row nextRow()
Row.public Row prevRow()
Row.prevRow in interface RowRow.IllegalStateException - (optional) if you try to get
the previous Row when you are located
at the first Row of the SheetImpl.public Cell cell(Integer index)
CellImpl located into indicated index column.
If not exist the referenced cell, the method returns to a new cell instance placed there.
public Cell cell(String column)
CellImpl located into indicated column.
If not exist the referenced cell, the method returns to a new cell instance placed there.
public Integer getIndex()
IntegerIndexgetIndex in interface IntegerIndexCopyright © 2018. All rights reserved.