Package org.jitterbit.ui.style

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


            table.setCellRendererAt(n, renderer);
        }
    }

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

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

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

        installTableStyle(table);
        return table;
    }

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

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

        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

        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

    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

        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

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

    private static void updateStyle(KongaTable table) {
        TableStyle style = TableStyles.normal();
        style.makeOver(table);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.style.TableStyle

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.