Examples of BoxBuilder


Examples of org.jitterbit.ui.layout.BoxBuilder

        passwordAction.setTrigger(button);
        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

    }

    private JComponent createOverlayButtons(OverlayDecorator overlay, Action okAction) {
        Grid buttons = Grid.oneRow(10);
        buttons.addAll(okAction, overlay.getCancelAction());
        BoxBuilder row = BoxBuilder.horizontal();
        row.glue().add(buttons);
        return row.container();
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder

        private UiProvider createLayout(Operation from, IntegrationEntity to) {
            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;
        }
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder

            col.addAllWithSpace(32, createCaption(from, to), buttonUi);
            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

                            createConnectionLabel(from, to));
            return col;
        }

        private UiProvider createConnectionLabel(Operation from, IntegrationEntity to) {
            BoxBuilder row = BoxBuilder.horizontal();
            JLabel fromLabel = new JLabel("");
            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);
        }
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder

    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);
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder

        p.addRow(wsdlUrl, port);
        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

        style = TextStyle.newStyle(style, Font.BOLD);
        return style;
    }

    private void buildTitlePane() {
        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);
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder

        WizardStyleSheet.SMALL_CAPTION_STYLE.makeOver(label);
        return label;
    }

    private JComponent layoutButtons() {
        BoxBuilder col = BoxBuilder.vertical();
        col.glue().addAllWithSpace(10, selectTablesAction, removeTablesAction).glue();
        return col.container();
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder

    public void setSourceDataElementValuesEditable(boolean editable) {
        sourceDataElementValuesEditable = editable;
    }

    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();
    }
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.