CREATE_NULL_AS_BLANK, RETURN_BLANK_AS_NULL, RETURN_NULL_AND_BLANK
Constructor and Description |
---|
BasicIDARERow(BasicIDARESheet parent)
Simple constructor providing the parent sheet.
|
Modifier and Type | Method and Description |
---|---|
Iterator<IDARECell> |
cellIterator()
Obtain an Iterator over the
IDARECell s of this row. |
BasicIDARECell |
createCell()
Create a Blank Cell at the end of this row.
|
BasicIDARECell |
createCell(IDARECell.CellType type)
Create a Cell with a specified type at the end of this row
This is the same as a call to createCell(type,getLastCellNum()-1)
|
BasicIDARECell |
createCell(IDARECell.CellType CellType,
int pos)
Create a Cell of the specified type at the specified position.
|
BasicIDARECell |
createCell(int pos)
Create a blank cell at a specified position, overwriting any cell existing at the provided position
This is the same as the Call createCell(CellType.BLANK,pos)
|
void |
createNullCell()
Create a Null cell at the end of this row.
|
IDARECell |
getCell(int arg0)
Get the
IDARECell in the specified column from this Row. |
IDARECell |
getCell(int arg0,
int arg1)
Get the
IDARECell in the specified column from this Row, using the specified policy to handle non existing or blank cells. |
int |
getCellIndex(BasicIDARECell cell)
Get the position/index of a given Cell
|
short |
getLastCellNum()
Gets the index of the last cell contained in this row PLUS ONE.!
|
int |
getRowNum()
Get the position of this row in the enclosing
IDARESheet ; |
Iterator<IDARECell> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public BasicIDARERow(BasicIDARESheet parent)
parent
- The BasicIDARESheet
containing this Row.public Iterator<IDARECell> cellIterator()
IDARERow
IDARECell
s of this row.cellIterator
in interface IDARERow
public IDARECell getCell(int arg0)
IDARERow
IDARECell
in the specified column from this Row.
This is the same as a call to getCell(arg0,IDARERow.RETURN_NULL_AND_BLANK)public IDARECell getCell(int arg0, int arg1)
IDARERow
IDARECell
in the specified column from this Row, using the specified policy to handle non existing or blank cells.public short getLastCellNum()
IDARERow
getLastCellNum
in interface IDARERow
public int getRowNum()
IDARERow
IDARESheet
;getRowNum
in interface IDARERow
IDARESheet
public void createNullCell()
public BasicIDARECell createCell()
public BasicIDARECell createCell(IDARECell.CellType type)
type
- the type of the created cellpublic BasicIDARECell createCell(int pos)
pos
- the 0-based position at which to place the cell.public BasicIDARECell createCell(IDARECell.CellType CellType, int pos)
CellType
- The IDARECell.CellType
of the created cellpos
- the 0-based position of the cellBasicIDARECell
public int getCellIndex(BasicIDARECell cell)
cell
- the cell for which the index is requestedCopyright © 2018. All rights reserved.