Examples of addAllWithSpace()


Examples of org.jitterbit.ui.layout.BoxBuilder.addAllWithSpace()

        return button;
    }

    private UiProvider createUi() {
        BoxBuilder ui = BoxBuilder.horizontal();
        ui.addAllWithSpace(10, checkBox, passwordButton);
        return ui.setBorder(StyleSheet.getDefaultTitleBorder(Strings.get("Security")));
    }


    /**
 
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.addAllWithSpace()

            JLabel caption = WizardStyleSheet.SMALL_SECTION_STYLE.makeLabel(
                            Strings.get("RouteTypeSelector.SelectType"));
            caption.setBorder(Empty.border(0, 0, 5, 0));
            UiProvider buttonUi = buttons.getUi(caption, RadioButtonGroupPanel.Layout.TWO_ROWS);
            BoxBuilder col = BoxBuilder.vertical().leftAligned();
            col.addAllWithSpace(32, createCaption(from, to), buttonUi);
            return col;
        }

        private UiProvider createCaption(Operation from, IntegrationEntity to) {
            BoxBuilder col = BoxBuilder.vertical().leftAligned();
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.addAllWithSpace()

            return col;
        }

        private UiProvider createCaption(Operation from, IntegrationEntity to) {
            BoxBuilder col = BoxBuilder.vertical().leftAligned();
            col.addAllWithSpace(10,
                            WizardStyleSheet.SMALL_SECTION_STYLE.makeLabel(Strings.get("RouteTypeSelector.NewRoute")),
                            createConnectionLabel(from, to));
            return col;
        }
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.addAllWithSpace()

            RendererUtils.decorateRenderer(fromLabel, from, Size.MEDIUM);
            JLabel arrow = new JLabel(ApplicationResources.ICONS.getIcon("ArrowRight.16"));
            JLabel toLabel = new JLabel("");
            RendererUtils.decorateRenderer(toLabel, to, Size.MEDIUM);
            setLabelStyle(fromLabel, toLabel);
            return row.addAllWithSpace(10, fromLabel, arrow, toLabel);
        }

        private static void setLabelStyle(JLabel... labels) {
            WizardStyleSheet.SMALL_CAPTION_STYLE.makeOver(labels);
        }
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.addAllWithSpace()

    private void layoutSelector(Grid col, JCheckBox cb) {
        Outcome outcome = (Outcome) cb.getClientProperty("outcome");
        KongaLabel label = OutcomeDecorator.createLabel(outcome);
        label.setLabelForButton(cb);
        BoxBuilder row = BoxBuilder.horizontal();
        row.addAllWithSpace(5, cb, label);
        col.add(row);
    }

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

Examples of org.jitterbit.ui.layout.BoxBuilder.addAllWithSpace()

        JComponent soapAction = InputFieldFactory.getCapsule(soapActionField);
        JComponent binding = InputFieldFactory.getLabeledComponent(
                        bindingField, Strings.get("Page.Label.Binding"));
        p.addRow(soapAction, binding);
        BoxBuilder row = BoxBuilder.vertical();
        row.addAllWithSpace(5, TextStyles.AdminHint.makeLabel(Strings.get("Page.Label.StructureChange")), editWsdlButton);
        JComponent operation = InputFieldFactory.getLabeledComponent(
                        operationField, Strings.get("Page.Label.Operation"));
        p.addRow(row.container(), operation);
        addAdvancedPropertiesButton(p);
        wrap(p);
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.addAllWithSpace()

        BoxBuilder layout = BoxBuilder.horizontal(titlePane);
        List<JComponent> buttons = Lists.newArrayList();
        for (OperationNodeToolBarContribution c : toolbarContribs) {
            buttons.add(c.getUi());
        }
        layout.addAllWithSpace(10, iconLabel, nameLabel).rigid(20).glue().addAllWithSpace(5, buttons);
    }


    private class WrapperListener implements PropertyChangeListener, ValidationListener {
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.addAllWithSpace()

    public static JComponent getDefaultCaption() {
        BoxBuilder caption = BoxBuilder.horizontal();
        JLabel global = new JLabel("= global", DataElementIcons.GLOBAL, SwingConstants.LEADING);
        JLabel source = new JLabel("= source", DataElementIcons.SOURCE, SwingConstants.LEADING);
        caption.addAllWithSpace(10, "Data Elements", global, source);
        return caption.container();
    }

    private void updateTable() {
        tableModel = new DataElementTableModel(dataElements.getDataElements());
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.addAllWithSpace()

        return (action == null) ? null : new KongaButton(action);
    }

    private JComponent createToolbar(JButton... buttons) {
        BoxBuilder toolbar = BoxBuilder.horizontal().setOpaque(false);
        toolbar.addAllWithSpace(5, buttons);
        Border border = new RoundedBorder(6, 6, Color.GRAY);
        toolbar.setBorder(border);
        return toolbar.container();
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.addAllWithSpace()

        canvas.display(createControlPanel());
    }

    private JComponent createControlPanel() {
        BoxBuilder col = BoxBuilder.vertical().leftAligned();
        col.addAllWithSpace(10, filterUis);
        if (useScrollPane()) {
            return wrapInScrollPane(col);
        } else {
            col.setBorder(new BorderBuilder().line().empty(9));
            return col.container();
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.