public abstract class FoldableRow<I extends QueryItem> extends SingleRow<I>
| Modifier | Constructor and Description |
|---|---|
protected |
FoldableRow(int columnSize,
Function<? super I,String> calcFoldableRowKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
addItem(I item,
int index)
Appends a specific item value at a specific index.
|
Row<I> |
getFoldableRow(String key) |
int |
getFoldableRowCount() |
Set<String> |
getFoldableRowKeySet() |
String |
toString() |
void |
updateTotalValue(I item)
updates the total value of the row without changing any cell value.
|
getCells, getTotalValuepublic final int getFoldableRowCount()
public void addItem(I item, int index) throws IndexOutOfBoundsException
Rowpublic void updateTotalValue(I item)
RowupdateTotalValue in interface Row<I extends QueryItem>updateTotalValue in class SingleRow<I extends QueryItem>item - the item whose value will be added to the total value of this row.Copyright © 2020. All rights reserved.