Class RowOverrideLabelAccumulator<T>
java.lang.Object
org.eclipse.nebula.widgets.nattable.layer.cell.AbstractOverrider
org.eclipse.nebula.widgets.nattable.layer.cell.RowOverrideLabelAccumulator<T>
- Type Parameters:
T
- type of the bean used as the data source for a row
- All Implemented Interfaces:
IConfigLabelAccumulator
,IConfigLabelProvider
- See Also:
-
Constructor Summary
ConstructorDescriptionRowOverrideLabelAccumulator
(IRowDataProvider<T> dataProvider, IRowIdAccessor<T> idAccessor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accumulateConfigLabels
(LabelStack configLabels, int columnPosition, int rowPosition) Add labels applicable to this cell positionvoid
registerRowOverrides
(int rowIndex, String... configLabels) Gets the unique id for the row with the given index and registers the labels for that id.Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.cell.AbstractOverrider
addOverrides, getOverrides, getOverrides, getProvidedLabels, registerOverrides, registerOverrides, registerOverridesOnTop, registerOverridesOnTop, removeOverride
-
Constructor Details
-
RowOverrideLabelAccumulator
-
-
Method Details
-
accumulateConfigLabels
Description copied from interface:IConfigLabelAccumulator
Add 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
-
registerRowOverrides
Gets the unique id for the row with the given index and registers the labels for that id.- Parameters:
rowIndex
- The index of the row for which element the override should be registered.configLabels
- The labels to register.
-