Package org.eclipse.nebula.widgets.nattable.painter.layer

Examples of org.eclipse.nebula.widgets.nattable.painter.layer.GridLineCellLayerPainter


     *         {@link GridLineCellLayerPainter}
     */
    @Override
    public ILayerPainter getLayerPainter() {
        if (layerPainter == null) {
            layerPainter = new GridLineCellLayerPainter();
        }
        return layerPainter;
    }
View Full Code Here


        DataLayer bodyDataLayer = new DataLayer(bodyDataProvider);

        // use a cell layer painter that is configured for left clipping
        // this ensures that the rendering works correctly for split viewports
        bodyDataLayer
                .setLayerPainter(new GridLineCellLayerPainter(true, false));

        // create a ViewportLayer for the left part of the table and configure
        // it to only contain
        // the first 5 columns
        final ViewportLayer viewportLayerLeft = new ViewportLayer(bodyDataLayer);
View Full Code Here

        // IMPORTANT:
        // since the summary row layer is to the bottom of the viewport layer
        // we need to configure a GridLineCellLayerPainter that clips the top
        // cell. This means the body data layer is clipped at the bottom since
        // the painter is used globally
        dataLayer.setLayerPainter(new GridLineCellLayerPainter(false, true));

        viewportLayer = new ViewportLayer(dataLayer);

        // Plug in the SummaryRowLayer
        summaryRowLayer = new SummaryRowLayer(dataLayer, configRegistry, false);
View Full Code Here

        setStandalone(true);

        // register a GridLineCellLayerPainter that is configured for clipping
        // on top
        if (bodyDataLayer instanceof AbstractLayer) {
            ((AbstractLayer) bodyDataLayer).setLayerPainter(new GridLineCellLayerPainter(false, true));
        }
    }
View Full Code Here

        DataLayer bodyDataLayer = new DataLayer(bodyDataProvider);

        // use a cell layer painter that is configured for left clipping
        // this ensures that the rendering works correctly for split viewports
        bodyDataLayer
                .setLayerPainter(new GridLineCellLayerPainter(false, true));

        // create a ViewportLayer for the top part of the table and configure it
        // to only contain
        // the first 10 rows
        final ViewportLayer viewportLayerTop = new ViewportLayer(bodyDataLayer);
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.painter.layer.GridLineCellLayerPainter

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.