Package org.jitterbit.ui.layout

Examples of org.jitterbit.ui.layout.TwoColumnPanel.addRow()


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

    private void addAdvancedPropertiesButton(TwoColumnPanel p) {
View Full Code Here


        grid.setLeftInsets(0, 5, 15, 10);
        grid.setRightInsets(0, 0, 15, 0);
        grid.setAnchor(TwoColumnPanel.WEST);
        BorderLayoutBuilder b = new BorderLayoutBuilder();
        b.north(showActicitySelector);
        grid.addRow(b.container());
        defaultOpType.layout(grid);
        schedulePolicy.layout(grid);
        grid.addRow(new KongaLabel(Strings.get("Prefs.SourceHistory.Label")).asUiProvider(), sourceHistory);
        grid.setBorder(StyleSheet.getDefaultTitleBorder(Strings.get("Prefs.NewOperations")));
        return grid;
View Full Code Here

        BorderLayoutBuilder b = new BorderLayoutBuilder();
        b.north(showActicitySelector);
        grid.addRow(b.container());
        defaultOpType.layout(grid);
        schedulePolicy.layout(grid);
        grid.addRow(new KongaLabel(Strings.get("Prefs.SourceHistory.Label")).asUiProvider(), sourceHistory);
        grid.setBorder(StyleSheet.getDefaultTitleBorder(Strings.get("Prefs.NewOperations")));
        return grid;
    }
   
   
View Full Code Here

    private JComponent layoutComponents() {
        UiProvider ui;
        if (ToolbarMode.getConfiguredMode() == ToolbarMode.MINIMAL) {
            TwoColumnPanel grid = new TwoColumnPanel();
            grid.setInsets(2, 2, 2, 2);
            grid.addRow(serverCaption, serverLabel).addRow(userCaption, userLabel);
            grid.setOpaque(false, false);
            grid.setAlignmentX(Component.RIGHT_ALIGNMENT).setAlignmentY(Component.TOP_ALIGNMENT);
            ui = grid;
        } else {
            BoxBuilder row = BoxBuilder.horizontal();
View Full Code Here

    private void layout() {
        TwoColumnPanel grid = new TwoColumnPanel();
        enableContentEncodingField.layoutIn(grid);
        enableChunkedTransferEncodingField.layoutIn(grid);
        sendExpect100ContinueField.layoutIn(grid);
        grid.addRow(requestHeadersBox.asUiProvider());
        wrap(grid);
    }
   
   
    private static class ExclusiveChoiceOptionListener implements ActionListener {
View Full Code Here

    private void layoutComponents() {
        TwoColumnPanel grid = new TwoColumnPanel();
        String caption = Strings.get("Page.Caption.Restrictions");
        if (caption != null && caption.length() > 0) {
            grid.addRow(TextStyles.InfoText.makeLabel(caption));
        }
        grid.addRow(InputFieldFactory.getCapsule(delayField), null);
        Box capsule = Box.createHorizontalBox();
        capsule.add(dataLimitField.getInputComponent());
        capsule.add(Box.createHorizontalStrut(10));
View Full Code Here

        TwoColumnPanel grid = new TwoColumnPanel();
        String caption = Strings.get("Page.Caption.Restrictions");
        if (caption != null && caption.length() > 0) {
            grid.addRow(TextStyles.InfoText.makeLabel(caption));
        }
        grid.addRow(InputFieldFactory.getCapsule(delayField), null);
        Box capsule = Box.createHorizontalBox();
        capsule.add(dataLimitField.getInputComponent());
        capsule.add(Box.createHorizontalStrut(10));
        capsule.add(sizeUnitCombo);
        JComponent sizeComponent = InputFieldFactory.getLabeledComponent(capsule,
View Full Code Here

        capsule.add(dataLimitField.getInputComponent());
        capsule.add(Box.createHorizontalStrut(10));
        capsule.add(sizeUnitCombo);
        JComponent sizeComponent = InputFieldFactory.getLabeledComponent(capsule,
                        dataLimitField.getLabel(), InputFieldFactory.VERTICAL);
        grid.addRow(sizeComponent);
        setLayout(new FlowLayout(FlowLayout.LEFT));
        grid.addToParent(getUi(), null);
        UiUtils.setOpaqueRecursivelySkipDefaults(getUi(), false);
    }
View Full Code Here

        TwoColumnPanel grid = new TwoColumnPanel();
        grid.setLeftInsets(0, 0, 10, 10);
        grid.setRightInsets(0, 0, 10, 0);
        grid.setRightFill(Fill.HORIZONTAL);
        grid.setRightWeights(1.0, 0.0);
        grid.addRow(WizardStyleSheet.SMALL_SECTION_STYLE.makeLabel("Temp Folder Stats"));
        grid.addRow(label("Location:"), pathField);
        grid.addRow(label("File(s):"), filesField);
        grid.addRow(label("Folder(s):"), foldersField);
        grid.addRow(label("Total size:"), sizeField);
        grid.addRow(layoutButtons());
View Full Code Here

        grid.setLeftInsets(0, 0, 10, 10);
        grid.setRightInsets(0, 0, 10, 0);
        grid.setRightFill(Fill.HORIZONTAL);
        grid.setRightWeights(1.0, 0.0);
        grid.addRow(WizardStyleSheet.SMALL_SECTION_STYLE.makeLabel("Temp Folder Stats"));
        grid.addRow(label("Location:"), pathField);
        grid.addRow(label("File(s):"), filesField);
        grid.addRow(label("Folder(s):"), foldersField);
        grid.addRow(label("Total size:"), sizeField);
        grid.addRow(layoutButtons());
        grid.decorate(canvas);
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.