Package org.jitterbit.ui.layout

Examples of org.jitterbit.ui.layout.OneColumnPanel.addAll()


    public void decorate(UiCanvas canvas) {
        JLabel caption = createCaption();
        KongaButton importButton = createImportButton();
        OneColumnPanel layout = new OneColumnPanel();
        layout.setWeightX(1.0);
        layout.addAll(caption, importUi, InvisiblePanel.newPanel(importButton));
        layout.setFillOut();
        layout.add(" ");
        layeredPane.setBaseComponent(layout.getUi());
        canvas.display(layeredPane);
    }
View Full Code Here


            if (atLeastOneDependantWillBeDeleted) {
                JLabel warning = TextStyles.DefaultBold.makeLabel("Items in RED will also be deleted.");
                warning.setForeground(Color.RED);
                OneColumnPanel col = new OneColumnPanel();
                col.setInsets(0, 0, 5, 0);
                col.addAll(message, warning);
                layout.north(col);
            } else {
                layout.north(message);
            }
        }
View Full Code Here

    }

    private void layoutMyself() {
        OneColumnPanel col = new OneColumnPanel();
        col.setInsets(0, 0, 3, 0);
        col.addAll(field.getLabel(), field.getInputComponent());
        wrap(col);
    }

    private static TextInputField2 createTextField(String value) {
        String label = "Enter the new name:";
View Full Code Here

    private void layoutInputPanel() {
        OneColumnPanel p = new OneColumnPanel();
        p.setOpaque(false, false);
        p.setInsets(5, 5, 5, 5);
        p.add(selectionWidget);
        p.addAll(getAdditionalComponents());
        InvisiblePanel.convert(inputPanel.getUi());
        p.addToParent(inputPanel.getUi(), null);
        UiUtils.setOpaqueRecursivelySkipDefaults(inputPanel.getUi(), false);
    }
View Full Code Here

            }
            row.addAllWithSpace(10, viewDetailsAction, removeAction);
            OneColumnPanel col = new OneColumnPanel();
            col.setWeightX(1.0);
            JLabel title = WizardStyleSheet.CAPTION_STYLE.makeLabel(getString("AppliedPluginsViewer.Title.Current"));
            col.addAll(title, row);
            return col.getUi();
        }

        private JComponent createCaption() {
            JLabel pre = new JLabel(getString("AppliedPluginsViewer.Caption") + " ");
View Full Code Here

        JComponent gettingStarted = createGettingStartedHelpBlurb();
        JComponent linkArea = createLinkArea();
        JComponent dontForget = createDontForgetArea();
        OneColumnPanel topLeft = new OneColumnPanel();
        topLeft.setWeightX(1.0);
        topLeft.addAll(gettingStarted, linkArea);
        BorderLayoutBuilder left = new BorderLayoutBuilder();
        left.north(topLeft).south(dontForget);
        JCheckBox doNotShowAgain = createDoNotShowAgainCheck();
        BoxBuilder doNotShowAgainRow = BoxBuilder.horizontal();
        doNotShowAgainRow.glue().add(doNotShowAgain);
View Full Code Here

        JLabel text = textStyle.makeLabel("<html>First time using Jitterbit? Need a<br>" +
            "refresher? Use these tools to get<br>" +
            "started with your first integration.</html>");
        OneColumnPanel left = new OneColumnPanel();
        left.setWeightX(1.0);
        left.addAll(caption, text);
        Icon info = ClientIcons.getIcon("Help.64");
        BorderLayoutBuilder wrapper = new BorderLayoutBuilder(20, 0);
        wrapper.center(left).east(info).setBorder(Empty.border(0, 0, 20, 0));
        return InvisiblePanel.newPanel(wrapper);
    }
View Full Code Here

    private JComponent createLinkArea() {
        OneColumnPanel col = new OneColumnPanel();
        col.setWeightX(1.0);
        col.setInsets(0, 0, 10, 0);
        col.addAll(
            createLinkButton("Jitterbit Basics - 5 Minute Video Guide", JITTERBIT_BASICS_URL),
            createLinkButton("Hands-on Tutorial", JITTERBIT_TUTORIAL_URL),
            createLinkButton("Jitterbit Support && Documentation", JITTERBIT_SUPPORT_URL)
        );
        return col.getUi();
View Full Code Here

        }
        OneColumnPanel col = new OneColumnPanel();
        col.setWeightX(1.0);
        col.setInsets(0, 0, 10, 0);
        col.setFill(Fill.BOTH);
        col.addAll(buttons.toArray());
        col.setFillOut();
        col.setInsets(0, 0, 0, 0);
        col.add(" ");
        col.setBorder(new TitledBorder(""));
        JLabel titleLabel = WizardStyleSheet.MEDIUM_CAPTION_STYLE.makeLabel(title);
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.