public class CellOverrideLabelAccumulator<T> extends AbstractOverrider
Constructor and Description |
---|
CellOverrideLabelAccumulator(IRowDataProvider<T> dataProvider) |
Modifier and Type | Method and Description |
---|---|
void |
accumulateConfigLabels(LabelStack configLabels,
int columnPosition,
int rowPosition)
Add labels applicable to this cell position
|
protected List<String> |
getConfigLabels(Object value,
int col) |
void |
registerOverride(Object cellValue,
int col,
String configLabel)
Register a config label on the cell
|
addOverrides, getOverrides, getOverrides, registerOverrides, registerOverrides, registerOverridesOnTop, removeOverride
public CellOverrideLabelAccumulator(IRowDataProvider<T> dataProvider)
public void accumulateConfigLabels(LabelStack configLabels, int columnPosition, int rowPosition)
IConfigLabelAccumulator
configLabels
- the labels currently applied to the cell. The labels contributed by this
provider must be added to this stackcolumnPosition
- of the cell for which labels are being gatheredrowPosition
- of the cell for which labels are being gatheredpublic void registerOverride(Object cellValue, int col, String configLabel)
cellValue
- data value of the cell. This is the backing data value, not the display value.col
- column index of the cellconfigLabel
- to apply. Styles for the cell have to be registered against this label.Copyright © 2013. All Rights Reserved.