Examples of south()


Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.south()

    private JComponent layout(UiProvider selector) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        layout.center(selector);
        if (preference != null) {
            KongaCheckBox checkBox = createDoNotShowAgainCheckBox();
            layout.south(checkBox);
        }
        return layout.container();
    }

    private KongaCheckBox createDoNotShowAgainCheckBox() {
View Full Code Here

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.south()

            dialog.setVisible(true);
        }
       
        private void layoutDialog(KongaDialog dialog) {
            BorderLayoutBuilder layout = layout();
            layout.south(getButtons(dialog));
            layout.withEmptyBorder(10, 10, 10, 10).asContentPaneFor(dialog);
        }
       
        private JComponent getButtons(KongaDialog dialog) {
            JPanel buttons = dialog.getButtonPanel(KongaDialog.CLOSE_ONLY, 0);
View Full Code Here

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.south()

        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 10);
        layout.setBorder(Empty.border(FIELD_INSETS));
        layout.center(wsdlList);
        BoxBuilder south = BoxBuilder.horizontal();
        south.add(InvisiblePanel.newPanel(new KongaButton(refreshAction))).glue();
        layout.south(south);
        return layout;
    }

    private void registerKeyBindings(JComponent root) {
        KeyBindingInstaller installer = new KeyBindingInstaller(root, JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
View Full Code Here

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.south()

    public void decorate(UiCanvas decor) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 2);
        layout.center(list);
        if (deleteAction != null) {
            BoxBuilder south = layoutControlPanel();
            layout.south(south);
        }
        layout.decorate(decor);
    }

    private BoxBuilder layoutControlPanel() {
View Full Code Here

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.south()

        OneColumnPanel col = new OneColumnPanel();
        col.setOpaque(false, false).setBorder(Empty.border(0, 12, 0, 12));
        col.setWeightX(1.0);
        col.setInsets(0, 0, 4, 0);
        col.addAll(progressBar, messageLabel);
        layout.south(col);
        return layout.container();
    }

    @Override
    public void requestFocus() {
View Full Code Here

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.south()

            JButton undo = createUndoButton();
            JButton close = createCloseButton();
            dialog.setFocusedComponent(close);
            BoxBuilder buttons = BoxBuilder.horizontal();
            buttons.add(undo).glue().add(close);
            layout.south(buttons);
            layout.setBorder(Empty.border(10));
            return layout;
        }

        private JButton createUndoButton() {
View Full Code Here

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.south()

        layout.north(logMonitor);
        ProgressTracker m = getProgressMonitor();
        if (m != null) {
            JComponent wrapper = BorderLayoutBuilder.fillWith(m);
            wrapper.setBorder(Empty.border(4));
            layout.south(wrapper);
        }
        layout.decorate(canvas);
    }

    private ProgressTracker getProgressMonitor() {
View Full Code Here

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.south()

        BoxBuilder row = BoxBuilder.horizontal().setOpaque(false);
        row.add(layoutLeftButtons()).glue();
        if (includeCancelButton) {
            row.add(new KongaButton(new CancelHandler()));
        }
        layout.south(row);
        layout.setOpaque(false);
        ui = layout.container();
        canvas.display(ui);
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.south()

            BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 5);
            layout.north("Set the preferred Look & Feel");
            JComponent selector = InvisiblePanel.newPanel(getSelector());
            selector.setBorder(Empty.border(0, 25, 0, 0));
            layout.west(selector);
            layout.south(getRequiresRestartNote());
            layout.setBorder(StyleSheet.getDefaultTitleBorder("Look & Feel"));
            layout.decorate(canvas);
        }

        @Override
View Full Code Here

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.south()

   
    private KongaDialog createDialog(Component owner) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 10).withEmptyBorder(10, 10, 10, 10);
        layout.center(Alert.getDisplayMessage(message));
        layout.west(layoutTypeIcon());
        layout.south(layoutButtons());
        Window window = (owner != null ? SwingUtilities.getWindowAncestor(owner) : UiUtils.getActiveWindow());
        KongaDialog dialog = new KongaDialog(window, title);
        layout.asContentPaneFor(dialog);
        return dialog;
    }
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.