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

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

public class ColumnLabelAccumulator
extends Object
implements IConfigLabelAccumulator

Accumulator for column labels allowing to configure cells by their column position. The label of a column is COLUMN_LABEL_PREFIX + column position.


Field Summary
static String COLUMN_LABEL_PREFIX
          The common prefix of column labels (value is "COLUMN_" ).
 
Constructor Summary
ColumnLabelAccumulator()
           
 
Method Summary
 void accumulateConfigLabels(LabelStack configLabels, int columnPosition, int rowPosition)
          Add labels applicable to this cell position
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()
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


Copyright © 2015. All rights reserved.