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

public class RowOverrideLabelAccumulator<T> extends AbstractOverrider
See Also:
  • Constructor Details

  • Method Details

    • accumulateConfigLabels

      public void accumulateConfigLabels(LabelStack configLabels, int columnPosition, int rowPosition)
      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 stack
      columnPosition - of the cell for which labels are being gathered
      rowPosition - of the cell for which labels are being gathered
    • registerRowOverrides

      public void registerRowOverrides(int rowIndex, String... configLabels)
      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.