Class ColumnLabelAccumulator

    • Field Detail

      • COLUMN_LABEL_PREFIX

        public static final String COLUMN_LABEL_PREFIX
        The common prefix of column labels (value is "COLUMN_" ).
        See Also:
        Constant Field Values
    • Constructor Detail

      • ColumnLabelAccumulator

        public ColumnLabelAccumulator​(IDataProvider dataProvider)
        Create a ColumnLabelAccumulator which can be used in conjunction with CSS styling, because the labels that are added to the cells are predictable.
        Parameters:
        dataProvider - The IDataProvider that should be used to calculate which columns are added by this instance.
        Since:
        1.4
    • Method Detail

      • accumulateConfigLabels

        public void accumulateConfigLabels​(LabelStack configLabels,
                                           int columnPosition,
                                           int rowPosition)
        Description copied from interface: IConfigLabelAccumulator
        Add labels applicable to this cell position
        Specified by:
        accumulateConfigLabels in interface IConfigLabelAccumulator
        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