Class CellOverrideLabelAccumulator<T>
java.lang.Object
org.eclipse.nebula.widgets.nattable.layer.cell.AbstractOverrider
org.eclipse.nebula.widgets.nattable.layer.cell.CellOverrideLabelAccumulator<T>
- All Implemented Interfaces:
IConfigLabelAccumulator,IConfigLabelProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccumulateConfigLabels(LabelStack configLabels, int columnPosition, int rowPosition) Add labels applicable to this cell positiongetConfigLabels(Object value, int col) voidregisterOverride(Object cellValue, int col, String configLabel) Register a config label on the cellMethods inherited from class org.eclipse.nebula.widgets.nattable.layer.cell.AbstractOverrider
addOverrides, getOverrides, getOverrides, getProvidedLabels, registerOverrides, registerOverrides, registerOverridesOnTop, registerOverridesOnTop, removeOverride
-
Constructor Details
-
CellOverrideLabelAccumulator
-
-
Method Details
-
accumulateConfigLabels
Description copied from interface:IConfigLabelAccumulatorAdd labels applicable to this cell position- Parameters:
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 gathered
-
getConfigLabels
-
registerOverride
Register a config label on the cell- Parameters:
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.
-