Examples of CellPainterDecorator


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

            CellEdgeEnum cellEdge, boolean paintBg, int spacing,
            boolean paintDecorationDependent) {

        ICellPainter sortPainter = new ColumnGroupExpandCollapseImagePainter(
                paintBg);
        CellPainterDecorator painter = new CellPainterDecorator(
                interiorPainter, cellEdge, spacing, sortPainter,
                paintDecorationDependent, paintBg);
        setWrappedPainter(painter);
    }
View Full Code Here

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

     */
    public ColumnGroupHeaderTextPainter(ICellPainter interiorPainter,
            CellEdgeEnum cellEdge, ICellPainter decoratorPainter,
            boolean paintBg, int spacing, boolean paintDecorationDependent) {

        CellPainterDecorator painter = new CellPainterDecorator(
                interiorPainter, cellEdge, spacing, decoratorPainter,
                paintDecorationDependent, paintBg);
        setWrappedPainter(painter);
    }
View Full Code Here

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

     */
    public ColumnGroupHeaderTextPainter(ICellPainter interiorPainter,
            boolean paintBg, boolean interiorPainterToSpanFullWidth) {
        ICellPainter sortPainter = new ColumnGroupExpandCollapseImagePainter(
                paintBg);
        CellPainterDecorator painter = new CellPainterDecorator(
                interiorPainter, CellEdgeEnum.RIGHT, 0, sortPainter,
                !interiorPainterToSpanFullWidth, paintBg);
        setWrappedPainter(painter);
    }
View Full Code Here

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

                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) {
                configRegistry.registerConfigAttribute(
View Full Code Here

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

     *
     * @param comboImage
     *            The image marking the cell as a combo control
     */
    public ComboBoxPainter(Image comboImage) {
        setWrappedPainter(new CellPainterDecorator(new TextPainter(),
                CellEdgeEnum.RIGHT, new ImagePainter(comboImage)));
    }
View Full Code Here

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

     *            related decoration (by default the {@link SortIconPainter}
     *            will be used)
     */
    public SortableHeaderTextPainter(ICellPainter interiorPainter,
            CellEdgeEnum cellEdge, ICellPainter decoratorPainter) {
        setWrappedPainter(new CellPainterDecorator(interiorPainter, cellEdge,
                decoratorPainter));
    }
View Full Code Here

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

    public SortableHeaderTextPainter(ICellPainter interiorPainter,
            CellEdgeEnum cellEdge, boolean paintBg, int spacing,
            boolean paintDecorationDependent) {

        ICellPainter sortPainter = new SortIconPainter(paintBg);
        CellPainterDecorator painter = new CellPainterDecorator(
                interiorPainter, cellEdge, spacing, sortPainter,
                paintDecorationDependent, paintBg);
        setWrappedPainter(painter);
    }
View Full Code Here

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

     */
    public SortableHeaderTextPainter(ICellPainter interiorPainter,
            CellEdgeEnum cellEdge, ICellPainter decoratorPainter,
            boolean paintBg, int spacing, boolean paintDecorationDependent) {

        CellPainterDecorator painter = new CellPainterDecorator(
                interiorPainter, cellEdge, spacing, decoratorPainter,
                paintDecorationDependent, paintBg);
        setWrappedPainter(painter);
    }
View Full Code Here

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

     *            calculated
     */
    public SortableHeaderTextPainter(ICellPainter interiorPainter,
            boolean paintBg, boolean interiorPainterToSpanFullWidth) {
        ICellPainter sortPainter = new SortIconPainter(paintBg);
        CellPainterDecorator painter = new CellPainterDecorator(
                interiorPainter, CellEdgeEnum.RIGHT, 0, sortPainter,
                !interiorPainterToSpanFullWidth, paintBg);
        setWrappedPainter(painter);
    }
View Full Code Here

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

     *            The {@link ImagePainter} that should be used to paint the icon
     *            in the filter row cells.
     */
    public FilterRowPainter(ImagePainter filterIconPainter) {
        this.filterIconPainter = filterIconPainter;
        setWrappedPainter(new CellPainterDecorator(new TextPainter(),
                CellEdgeEnum.RIGHT, filterIconPainter));
    }
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.