Examples of TwoColumnPanel


Examples of org.jitterbit.ui.layout.TwoColumnPanel

        browseButton = new KongaButton(new BrowseAction());
        buttonPanel = new Buttons();
    }
   
    private void layoutComponents() {
        TwoColumnPanel center = new TwoColumnPanel();
        Insets ins = new Insets(10, 5, 10, 5);
        center.setLeftInsets(ins);
        center.setRightInsets(ins);
        center.addRow(caption);
        center.addRow(textField, browseButton);
        BorderBuilder border = new BorderBuilder().empty(10).etched().empty(5);
        center.setBorder(border);
        center.addToParent(frame.getContentPane(), BorderLayout.CENTER);
        buttonPanel.setBorder(Empty.border(10, 10, 10, 10));
        frame.getContentPane().add(buttonPanel, BorderLayout.SOUTH);
        frame.getRootPane().setDefaultButton(buttonPanel.getButton(KongaButtonPanel.OK));
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.TwoColumnPanel

        this.mapping = mapping;
    }

    @Override
    public void decorate(UiCanvas canvas) {
        TwoColumnPanel cols = new TwoColumnPanel();
        cols.setLeftInsets(0, 0, 10, 10);
        cols.setRightInsets(0, 0, 10, 0);
        cols.setLeftFill(Fill.NONE);
        cols.setRightFill(Fill.HORIZONTAL);
        cols.setLeftAnchor(Anchor.EAST);
        cols.setRightAnchor(Anchor.WEST);
        cols.setLeftWeights(0.0, 0.0);
        cols.setRightWeights(1.0, 0.0);
        cols.addRow(getCaption(TreeStrings.get("InvalidMappings.Viewer.TargetPath")), getPathField());
        cols.setLeftAnchor(Anchor.NORTHEAST);
        cols.setRightAnchor(Anchor.NORTHWEST);
        cols.setRightWeights(1.0, 0.5);
        cols.setRightFill(Fill.BOTH);
        cols.addRow(getCaption(TreeStrings.get("InvalidMappings.Viewer.Expression")), getExpressionField());
        cols.addRow(getCaption(TreeStrings.get("InvalidMappings.Viewer.Error")), getErrorField());
        cols.decorate(canvas);
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.TwoColumnPanel

    private static final class Layout {

        private final TwoColumnPanel layout;

        public Layout() {
            layout = new TwoColumnPanel();
            layout.setAnchor(TwoColumnPanel.NORTHWEST);
            layout.setInsets(5, 5, 15, 5);
            layout.setLeftWeights(1.0, 0.0);
            layout.setRightWeights(1.0, 0.0);
        }
View Full Code Here

Examples of org.jitterbit.ui.layout.TwoColumnPanel

    private void layoutComponents() {
        layoutOperationPanel();
    }

    private void layoutOperationPanel() {
        TwoColumnPanel layout = new TwoColumnPanel();
        layout.setInsets(5, 5, 5, 5);
        layout.addRow(operationCombo);
        infoViewer.layoutIn(layout);
        layout.addRow(new KongaButton(showDocumentationAction), new JLabel(" "));
        operationPanel = InvisiblePanel.newPanel(layout);
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.TwoColumnPanel

        super.setReadOnly();
        httpPropertiesEditor.setEnabled(false);
    }

    private void layoutComponents() {
        TwoColumnPanel p = new TwoColumnPanel();
        JComponent wsUrl = InputFieldFactory.getCapsule(webServiceUrlField);
        JComponent service = InputFieldFactory.getLabeledComponent(
                        serviceField, Strings.get("Page.Label.Service"));
        p.addRow(wsUrl, service);
        JComponent wsdlUrl = InputFieldFactory.getLabeledComponent(
                        wsdlUrlField, Strings.get("Page.Label.WsdlUrl"));
        JComponent port = InputFieldFactory.getLabeledComponent(
                        portField, Strings.get("Page.Label.Port"));
        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.TwoColumnPanel

        layout.add(runOperationMessage);
        parent.add(InvisiblePanel.newPanel(layout));
    }
   
    private UiProvider layoutNewOperationSettings() {
        TwoColumnPanel grid = new TwoColumnPanel();
        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

Examples of org.jitterbit.ui.layout.TwoColumnPanel

        private class Layout {
           
            private final TwoColumnPanel grid;
           
            public Layout() {
                grid = new TwoColumnPanel();
                addCaption();
                addFields();
                grid.setBorder(StyleSheet.getDefaultTitleBorder(Strings.get("Prefs.Activity.Title")));
            }
View Full Code Here

Examples of org.jitterbit.ui.layout.TwoColumnPanel

    }

    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();
            row.addAllWithSpace(5, userCaption, userLabel).rigid(10).addAllWithSpace(5, serverCaption, serverLabel);
            ui = row;
View Full Code Here

Examples of org.jitterbit.ui.layout.TwoColumnPanel

        VersionBannerDialog dialog = new VersionBannerDialog(owner, versionBanner);
        dialog.show();
    }

    private void layoutLinks(OneColumnPanel p) {
        TwoColumnPanel cols = new TwoColumnPanel();
        cols.setLeftInsets(0, 10, 10, 5);
        cols.setRightFill(TwoColumnPanel.HORIZONTAL);
        cols.setRightWeights(1.0, 0.0);
        cols.setAnchor(TwoColumnPanel.SOUTHWEST);
        addHomePageLink(cols);
        addForumLink(cols);
        TitledBorder title = BorderFactory.createTitledBorder(PackageResources.AboutDialog.ON_THE_WEB);
        title.setTitleColor(TextStyles.AdminHint.getColor());
        cols.setBorder(new BorderBuilder(title).empty(5, 0, 0, 10));
        p.setInsets(15, 0, 0, 0);
        p.add(cols);
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.TwoColumnPanel

    public void requestFocus() {
        enableContentEncodingField.requestFocus();
    }
   
    private void layout() {
        TwoColumnPanel grid = new TwoColumnPanel();
        enableContentEncodingField.layoutIn(grid);
        enableChunkedTransferEncodingField.layoutIn(grid);
        sendExpect100ContinueField.layoutIn(grid);
        grid.addRow(requestHeadersBox.asUiProvider());
        wrap(grid);
    }
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.