org.eclipse.nebula.widgets.nattable.layer.cell
Class AggregateConfigLabelAccumulator

java.lang.Object
  extended by org.eclipse.nebula.widgets.nattable.layer.cell.AggregateConfigLabelAccumulator
All Implemented Interfaces:
IConfigLabelAccumulator

public class AggregateConfigLabelAccumulator
extends Object
implements IConfigLabelAccumulator

An IConfigLabelAccumulator that can aggregate labels from other IConfigLabelAccumulators. All the labels provided by the aggregated accumulators are applied to the cell.


Constructor Summary
AggregateConfigLabelAccumulator()
           
 
Method Summary
 void accumulateConfigLabels(LabelStack configLabels, int columnPosition, int rowPosition)
          Add labels applicable to this cell position
 void add(IConfigLabelAccumulator... r)
           
 void add(IConfigLabelAccumulator r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregateConfigLabelAccumulator

public AggregateConfigLabelAccumulator()
Method Detail

add

public void add(IConfigLabelAccumulator r)

add

public void add(IConfigLabelAccumulator... r)

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


Copyright © 2015. All rights reserved.