public final class ExcelRowCollection extends ExcelRowColumnCollectionBaseGeneric<ExcelRow>
ExcelRow
).Modifier and Type | Method and Description |
---|---|
ExcelRow |
get(int index)
Gets the row with the specified index.
|
void |
insertCopy(int rowIndex,
ExcelRow sourceRow)
Inserts copied row at the specified index.
|
void |
insertCopy(int rowIndex,
int rowCount,
ExcelRow sourceRow)
Inserts specified number of copied rows at the specified index.
|
void |
insertEmpty(int rowIndex)
Inserts empty row at the specified index.
|
void |
insertEmpty(int rowIndex,
int rowCount)
Inserts specified number of empty rows at the specified index.
|
void |
remove(int rowIndex)
Removes the row with the specified index.
|
void |
remove(int rowIndex,
int rowCount)
Removes specified number of rows starting at the specified index.
|
static String |
rowIndexToName(int rowIndex)
Converts row index (0, 1, ...) to row name ("1", "2", ...).
|
static int |
rowNameToIndex(String name)
Converts row name ("1", "2", ...) to row index (0, 1, ...).
|
get, iterator, size
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public ExcelRow get(int index)
get
in class ExcelRowColumnCollectionBaseGeneric<ExcelRow>
index
- The zero-based index of the row.public void insertCopy(int rowIndex, ExcelRow sourceRow)
rowIndex
- The zero-based index of the row.sourceRow
- Source row to copy.public void insertCopy(int rowIndex, int rowCount, ExcelRow sourceRow)
rowIndex
- The zero-based index of the row.rowCount
- Number of rows to add.sourceRow
- Source row to copy.public void insertEmpty(int rowIndex)
rowIndex
- The zero-based index of the row.public void insertEmpty(int rowIndex, int rowCount)
rowIndex
- The zero-based index of the row.rowCount
- Number of rows to add.public void remove(int rowIndex)
rowIndex
- The zero-based index of the row.public void remove(int rowIndex, int rowCount)
rowIndex
- The zero-based index of the row.rowCount
- Number of rows to remove.public static String rowIndexToName(int rowIndex)
rowIndex
- Row index.public static int rowNameToIndex(String name)
name
- Row name.© GemBox d.o.o. — All rights reserved.