Class FoldableRow<I extends QueryItem>
- java.lang.Object
-
- pro.taskana.monitor.api.reports.row.SingleRow<I>
-
- pro.taskana.monitor.api.reports.row.FoldableRow<I>
-
- All Implemented Interfaces:
Row<I>
- Direct Known Subclasses:
DetailedClassificationRow,TimestampRow,TimestampRow.OrgLevel1Row,TimestampRow.OrgLevel2Row,TimestampRow.OrgLevel3Row
public abstract class FoldableRow<I extends QueryItem> extends SingleRow<I>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFoldableRow(String key, int columnSize, Function<? super I,String> calcFoldableRowKey)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddItem(I item, int index)Appends a specific item value at a specific index.protected abstract Row<I>buildRow(String key, int columnSize)Row<I>getFoldableRow(String key)intgetFoldableRowCount()Set<String>getFoldableRowKeySet()Map<String,Row<I>>getFoldableRows()voidsetDisplayName(Map<String,String> displayMap)StringtoString()voidupdateTotalValue(I item)updates the total value of the row without changing any cell value.-
Methods inherited from class pro.taskana.monitor.api.reports.row.SingleRow
getCells, getDisplayName, getKey, getTotalValue
-
-
-
-
Method Detail
-
getFoldableRowCount
public final int getFoldableRowCount()
-
addItem
public void addItem(I item, int index) throws IndexOutOfBoundsException
Description copied from interface:RowAppends a specific item value at a specific index.
-
updateTotalValue
public void updateTotalValue(I item)
Description copied from interface:Rowupdates the total value of the row without changing any cell value.- Specified by:
updateTotalValuein interfaceRow<I extends QueryItem>- Overrides:
updateTotalValuein classSingleRow<I extends QueryItem>- Parameters:
item- the item whose value will be added to the total value of this row.
-
setDisplayName
public void setDisplayName(Map<String,String> displayMap)
- Specified by:
setDisplayNamein interfaceRow<I extends QueryItem>- Overrides:
setDisplayNamein classSingleRow<I extends QueryItem>
-
-