Examples of BeveledBorderDecorator


Examples of org.eclipse.nebula.widgets.nattable.painter.cell.decorator.BeveledBorderDecorator

            public void configureRegistry(IConfigRegistry configRegistry) {
                // Column header
                configRegistry
                        .registerConfigAttribute(
                                CellConfigAttributes.CELL_PAINTER,
                                new BeveledBorderDecorator(
                                        new CellPainterDecorator(
                                                new SortableHeaderTextPainter(),
                                                CellEdgeEnum.LEFT,
                                                columnHeaderCheckBoxPainter)),
                                DisplayMode.NORMAL,
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.painter.cell.decorator.BeveledBorderDecorator

                .addConfiguration(new DefaultColumnHeaderLayerConfiguration() {
                    @Override
                    protected void addColumnHeaderStyleConfig() {
                        addConfiguration(new DefaultColumnHeaderStyleConfiguration() {
                            {
                                cellPainter = new BeveledBorderDecorator(
                                        painter);
                            }
                        });
                    }
                });
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.painter.cell.decorator.BeveledBorderDecorator

                .addConfiguration(new DefaultColumnHeaderLayerConfiguration() {
                    @Override
                    protected void addColumnHeaderStyleConfig() {
                        addConfiguration(new DefaultColumnHeaderStyleConfiguration() {
                            {
                                cellPainter = new BeveledBorderDecorator(
                                        painter);
                            }
                        });
                    }
                });
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.painter.cell.decorator.BeveledBorderDecorator

                .addConfiguration(new DefaultColumnHeaderLayerConfiguration() {
                    @Override
                    protected void addColumnHeaderStyleConfig() {
                        addConfiguration(new DefaultColumnHeaderStyleConfiguration() {
                            {
                                cellPainter = new BeveledBorderDecorator(
                                        new VerticalTextPainter());
                            }
                        });
                    }
                });
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.painter.cell.decorator.BeveledBorderDecorator

        natTable.addConfiguration(editableGridConfiguration(
                columnLabelAccumulator, dataProvider));

        final ColumnHeaderCheckBoxPainter columnHeaderCheckBoxPainter = new ColumnHeaderCheckBoxPainter(
                bodyDataLayer);
        final ICellPainter column9HeaderPainter = new BeveledBorderDecorator(
                new CellPainterDecorator(new TextPainter(), CellEdgeEnum.RIGHT,
                        columnHeaderCheckBoxPainter));
        natTable.addConfiguration(new AbstractRegistryConfiguration() {
            @Override
            public void configureRegistry(IConfigRegistry configRegistry) {
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.painter.cell.decorator.BeveledBorderDecorator

     * @param interiorPainter
     *            to paint the contents of the cell. This will be decorated with
     *            a button like look and feel.
     */
    public ButtonCellPainter(ICellPainter interiorPainter) {
        this.buttonPressedPainter = new BeveledBorderDecorator(interiorPainter,
                false);
        this.buttonRaisedPainter = new BeveledBorderDecorator(interiorPainter);
    }
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.painter.cell.decorator.BeveledBorderDecorator

                            192));
            sortHeaderPainter = new SortableHeaderTextPainter(
                    selectedCellPainter, false, false);
        } else {
            sortHeaderPainter = new SortableHeaderTextPainter(
                    new BeveledBorderDecorator(new TextPainter()), false, false);
        }

        configRegistry.registerConfigAttribute(
                CellConfigAttributes.CELL_PAINTER, sortHeaderPainter,
                DisplayMode.SELECT, GridRegion.COLUMN_HEADER);
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.painter.cell.decorator.BeveledBorderDecorator

            configRegistry.registerConfigAttribute(
                    CellConfigAttributes.CELL_PAINTER, sortHeaderPainter,
                    DisplayMode.NORMAL, GridRegion.CORNER);
        } else {
            SortableHeaderTextPainter sortHeaderPainter = new SortableHeaderTextPainter(
                    new BeveledBorderDecorator(new TextPainter()), false, false);
            configRegistry.registerConfigAttribute(
                    CellConfigAttributes.CELL_PAINTER, sortHeaderPainter,
                    DisplayMode.NORMAL, GridRegion.COLUMN_HEADER);
            configRegistry.registerConfigAttribute(
                    CellConfigAttributes.CELL_PAINTER, sortHeaderPainter,
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.painter.cell.decorator.BeveledBorderDecorator

    public static final String SORT_SEQ_CONFIG_TYPE = "SORT_SEQ_"; //$NON-NLS-1$

    private ICellPainter cellPainter;

    public DefaultSortConfiguration() {
        this(new BeveledBorderDecorator(new SortableHeaderTextPainter()));
    }
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.painter.cell.decorator.BeveledBorderDecorator

                            }
                        }, DisplayMode.NORMAL, GridRegion.ROW_HEADER);

                configRegistry.registerConfigAttribute(
                        CellConfigAttributes.CELL_PAINTER,
                        new BeveledBorderDecorator(new VerticalTextPainter(
                                false, true, true)), DisplayMode.NORMAL,
                        GridRegion.COLUMN_HEADER);

            }
        });
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.