Examples of TableStyle


Examples of org.eclipse.nebula.widgets.nattable.extension.builder.model.TableStyle

    private final DefaultRowHeaderDataProvider dataProvider;

    public RowHeaderLayerStack(BodyLayerStack<T> bodyLayer,
            TableModel tableModel) {
        TableStyle tableStyle = tableModel.tableStyle;

        dataProvider = new DefaultRowHeaderDataProvider(
                bodyLayer.getDataProvider());

        DataLayer rowHeaderDataLayer = new DataLayer(dataProvider,
View Full Code Here

Examples of org.jitterbit.ui.style.TableStyle

    private void setInitialSortOrder() {
        setSortingStatus(SourceHistoryTableModel.TIMESTAMP, SortOrder.DESCENDING);
    }

    private void setStyle() {
        TableStyle style = TableStyles.normal();
        style.setGridMode(TableGridMode.BOTH);
        style.makeOver(this);
    }
View Full Code Here

Examples of org.jitterbit.ui.style.TableStyle

            table.setCellRendererAt(n, renderer);
        }
    }

    private void setTableStyle() {
        TableStyle style = TableStyles.wide();
        style.setGridMode(TableGridMode.HORIZONTAL);
        style.makeOver(table);
    }
View Full Code Here

Examples of org.jitterbit.ui.style.TableStyle

        setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        setStyle();
    }

    private void setStyle() {
        TableStyle style = TableStyles.normal();
        style.setGridMode(TableGridMode.BOTH);
        style.makeOver(this);
    }
View Full Code Here

Examples of org.jitterbit.ui.style.TableStyle

        installTableStyle(table);
        return table;
    }

    private void installTableStyle(KongaTable table) {
        TableStyle style = TableStyles.wide();
        style.setGridMode(TableGridMode.BOTH);
        style.makeOver(table);
    }
View Full Code Here

Examples of org.jitterbit.ui.style.TableStyle

     * application UI.
     *
     * @see SelectorTable
     */
    public static TableStyle selector() {
        TableStyle style = normal();
        style.setGridMode(TableGridMode.NONE);
        return style;
    }
View Full Code Here

Examples of org.jitterbit.ui.style.TableStyle

        setTableStyle(raw);
        return new KongaRowTable(raw);
    }

    private void setTableStyle(KongaTable table) {
        TableStyle style = TableStyles.normal();
        style.addRendererPreparer(new BoldFontRenderer() {

            @Override
            protected boolean isBold(JTable table, int row, int column) {
                Object o = ((KongaTable) table).getValueAt(row, KnownServersTableModel.NAME);
                return o instanceof ServerName && ((ServerName) o).isConnected();
            }
        });
        style.makeOver(table);
    }
View Full Code Here

Examples of org.jitterbit.ui.style.TableStyle

        populate(pm);
        return pm.getPopup();
    }

    private void setTableStyle(KongaTable table) {
        TableStyle style = TableStyles.normal();
        style.setGridMode(TableGridMode.BOTH);
        style.makeOver(table);
    }
View Full Code Here

Examples of org.jitterbit.ui.style.TableStyle

    private void customizeTable(KongaTable table) {
        table.setTerminateEditOnFocusLost(true);
        JndiContextTableRenderers.install(table);
        table.setDefaultEditor(String.class, new TableStringEditor());
        TableStyle style = TableStyles.normal();
        style.setGridMode(TableGridMode.BOTH);
        style.makeOver(table);
    }
View Full Code Here

Examples of org.jitterbit.ui.style.TableStyle

        table.setCellRendererFor(OperationTableModel.OPERATION, new NameRenderer());
        table.setCellEditorFor(OperationTableModel.MODE, new TableEnumEditor(OperationRunMode.class));
    }

    private void installTableStyle(KongaTable table) {
        TableStyle style = TableStyles.normal();
        style.addRendererPreparer(new RendererPreparerImpl());
        style.makeOver(table);
    }
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.