Package org.jitterbit.ui.layout

Examples of org.jitterbit.ui.layout.NColumnPanel.decorate()


        grid.addRow(available, null, selected);
        grid.setYWeights(1.0, 1.0, 1.0);
        grid.setFills(Fill.BOTH, Fill.VERTICAL, Fill.BOTH);
        grid.setInsets(1, 0, 10, 0, 10);
        grid.addRow(wrap(availableTables), layoutButtons(), wrap(selectedTables));
        grid.decorate(canvas);
    }

    private static JComponent wrap(UiProvider ui) {
        // We want the Available Tables and Selected Tables widgets to have the same size.
        // The only way to enforce that with a GridBayLayout (which is what NColumnPanel
View Full Code Here


        grid.setFills(Fill.NONE, Fill.HORIZONTAL, Fill.NONE, Fill.HORIZONTAL);
        grid.setVGap(16).setHGaps(5, 10, 5, 0);
        grid.addRow(serverField.getLabel(), serverField, portField.getLabel(), portField);
        grid.setVGap(0);
        grid.add(urlField.getLabel()).add(urlField, 3);
        grid.decorate(canvas);
    }
   
    @Override
    public void requestFocus() {
        serverField.requestFocusInWindow();
View Full Code Here

        grid.setVGap(0);
        grid.setFill(0, Fill.HORIZONTAL);
        grid.setAnchors(Anchor.WEST, Anchor.EAST, Anchor.EAST);
        grid.add(statusLabel).add(modeSelector).add(layoutRowAndColumnLabels());
        grid.setBorder(new BorderBuilder().etched().empty(2, 0, 2, 0));
        grid.decorate(canvas);
    }

    private Object layoutRowAndColumnLabels() {
        BoxBuilder row = BoxBuilder.horizontal();
        row.addAll(rowNumber, " : ", columnNumber).strut(10);
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.