Package org.eclipse.nebula.widgets.nattable.grid.cell

Examples of org.eclipse.nebula.widgets.nattable.grid.cell.AlternatingRowConfigLabelAccumulator


    private void registerCellStyleAccumulators(DataLayer bodyDataLayer,
            ColumnOverrideLabelAccumulator columnLabelAccumulator) {
        AggregrateConfigLabelAccumulator aggregrateConfigLabelAccumulator = new AggregrateConfigLabelAccumulator();
        aggregrateConfigLabelAccumulator.add(columnLabelAccumulator,
                new AlternatingRowConfigLabelAccumulator());
        bodyDataLayer
                .setConfigLabelAccumulator(aggregrateConfigLabelAccumulator);
    }
View Full Code Here


    protected void addAlternateRowColoringConfig(CompositeLayer gridLayer) {
        addConfiguration(new DefaultRowStyleConfiguration());
        gridLayer.setConfigLabelAccumulatorForRegion(
                GridRegion.BODY,
                new AlternatingRowConfigLabelAccumulator(gridLayer
                        .getChildLayerByRegionName(GridRegion.BODY)));
    }
View Full Code Here

        rowStyleConfig.evenRowBgColor = properties.evenRowColor;
        rowStyleConfig.oddRowBgColor = properties.oddRowColor;
        addConfiguration(rowStyleConfig);

        gridLayer.setConfigLabelAccumulatorForRegion(GridRegion.BODY,
                new AlternatingRowConfigLabelAccumulator());
    }
View Full Code Here

    private void registerCellStyleAccumulators(DataLayer bodyDataLayer) {
        AggregrateConfigLabelAccumulator aggregrateConfigLabelAccumulator = new AggregrateConfigLabelAccumulator();
        columnLabelAccumulator = new ColumnOverrideLabelAccumulator(
                new DataLayerFixture());
        aggregrateConfigLabelAccumulator.add(columnLabelAccumulator,
                new AlternatingRowConfigLabelAccumulator());
        bodyDataLayer
                .setConfigLabelAccumulator(aggregrateConfigLabelAccumulator);
    }
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.grid.cell.AlternatingRowConfigLabelAccumulator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.