Package org.jitterbit.ui.layout

Examples of org.jitterbit.ui.layout.BoxBuilder$VerticalBoxBuilder


        }

        private void layoutTree() {
            BorderLayoutBuilder treeLayout = new BorderLayoutBuilder(0, 5);
            treeLayout.center(tree);
            BoxBuilder buttons = BoxBuilder.horizontal().addAllWithSpace(10, editJoinPropertiesAction, removeRelationAction);
            treeLayout.south(InvisiblePanel.newPanel(buttons));
            layout.center(treeLayout);
        }
View Full Code Here


    }

    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 5);
        BoxBuilder north = BoxBuilder.horizontal();
        String caption = (model.isSelectedNodeSource() ? "Source" : "Target") + " field: ";
        north.addAll(caption, selectedNodeField);
        layout.northToSouth(north, candidates, statusLabel);
        layout.decorate(canvas);
    }
View Full Code Here

        filter.setAcceptsOdbcDrivers(odbcSelector.isSelected());
        changeListeners.call().stateChanged(new ChangeEvent(this));
    }
   
    private UiProvider createTwoColumnLayout() {
        BoxBuilder row = BoxBuilder.horizontal();
        row.addAllWithSpace(10, "Type of drivers to include:", odbcSelector, jdbcSelector);
        return row;
    }
View Full Code Here

            layout.setBorder(Empty.border(0, 30, 30, 30));
        }

        private void layoutControls() {
            DialogLayoutBuilder grid = new DialogLayoutBuilder(5, 5);
            BoxBuilder row = BoxBuilder.horizontal();
            row.addAllWithSpace(10, fileNameField.getInputComponent(), createOptionsButton());
            grid.addRow(fileNameField.getLabel(), row.container());
            JComponent button = InvisiblePanel.newPanel(new KongaButton(generateXsdAction));
            grid.addRow(new JLabel(" "), button);
            layout.north(grid);
        }
View Full Code Here

        addInputField(new ComboBoxInputField("", dayNumBox, null));
        addInputField(new ComboBoxInputField("", weekDayBox, null));
    }

    private void layoutComponents() {
        BoxBuilder layout = BoxBuilder.horizontal(getUi());
        layout.add(frontLabel).addAllWithSpace(5, dayNumBox, weekDayBox, every_X_month_panel.getUi());
    }
View Full Code Here

    @Override
    public void decorate(UiCanvas canvas) {
        JLabel label = KongaLabel.withMnemonic("&Filter: ");
        label.setLabelFor(filterField);
        BoxBuilder row = BoxBuilder.horizontal();
        row.setOpaque(false);
        row.addAll(label, filterField);
        row.decorate(canvas);
    }
View Full Code Here

    protected abstract Icon getStartEngineIcon();

    protected abstract Icon getStopEngineIcon();

    private JComponent layout() {
        BoxBuilder col = BoxBuilder.vertical().leftAligned().setBorder(Empty.border(5));
        col.addAll(statusPanel, actionPanel);
        return new BorderLayoutBuilder().north(col).setOpaqueRecursively(false).container();
    }
View Full Code Here

        addInputField(new DayOfTheWeekInputField(getString("Label.Weeks"), daysPanel), this);
        layoutComponents();
    }

    private void layoutComponents() {
        BoxBuilder weeklyTop = BoxBuilder.horizontal().add(everyXPanel.getUi()).glue().setOpaque(false);
        BoxBuilder.vertical(getUi()).glue().add(weeklyTop).add(daysPanel).glue();
    }
View Full Code Here

    private void addInputComponents() {
        addInputField(inputField, inputField, inputField);
    }

    private void layoutComponents() {
        BoxBuilder row = BoxBuilder.horizontal(getUi());
        row.addAllWithSpace(3, frontLabel, InputFieldFactory.getCapsule(inputField, InputFieldFactory.HORIZONTAL_LABEL_RIGHT));
    }
View Full Code Here

        layout.north(layoutToolbar()).center(tree);
        layout.decorate(canvas);
    }
   
    private JComponent layoutToolbar() {
        BoxBuilder row = BoxBuilder.horizontal().bottomAligned();
        row.add("The following XSD files will be uploaded to the server:");
        if (SystemUtils.IS_OS_WINDOWS) {
            row.glue().add(openFolderAction);
        }
        return row.container();
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.layout.BoxBuilder$VerticalBoxBuilder

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.