Examples of BoxBuilder


Examples of org.jitterbit.ui.layout.BoxBuilder

    public void requestFocus() {
        encryptionBox.requestFocusInWindow();
    }

    private JComponent createDisplayer() {
        BoxBuilder col = BoxBuilder.vertical().leftAligned();
        col.addAllWithSpace(10, layoutEncryptionSection(), layoutOptionsSection());
        col.setBorder(new BorderBuilder().empty(8, 32, 0, 0).titled(null));
        DropDownPanel dropDown = new DropDownPanel(col.container(), Strings.get("Options"), false);
        dropDown.decorateTitle(WizardStyleSheet.MEDIUM_CAPTION_STYLE);
        return dropDown.getDisplayer();
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder

        addWsdlPanel(col);
        BorderLayoutBuilder.from(inputPanel.getUi()).center(col);
    }

    private void addNamePanel(OneColumnPanel parent) {
        BoxBuilder row = BoxBuilder.horizontal();
        row.addAllWithSpace(5, nameField.getLabel(), nameField.getInputComponent());
        row.setBorder(Empty.border(0, 0, 20, 0));
        parent.add(InvisiblePanel.newPanel(row));
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder

            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;
        }
        return new BorderLayoutBuilder().east(ui).setOpaque(false).setBorder(Empty.border(2, 2, 2, 5)).container();
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder

    }

    private JComponent layoutToggleButtons() {
        JComponent sectionToggles = sectionSplit.getControlPanel();
        JComponent testToggle = topBottomToggle.getToggle();
        BoxBuilder col = BoxBuilder.vertical().leftAligned().setOpaque(false);
        col.add(sectionToggles).glue().add(testToggle);
        return col.container();
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder

            public void actionPerformed(ActionEvent e) {
                designLauncher.dismiss();
                adminLauncher.activate(null);
            }
        });
        BoxBuilder row = BoxBuilder.horizontal().setOpaque(false);
        row.glue().add(button).rigid(24);
        return row.container();
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder

    }

    private JComponent createUi() {
        JButton viewBtn = new KongaButton(viewDetailsAction);
        initialFocusOwner = viewBtn;
        BoxBuilder row = BoxBuilder.horizontal();
        row.strut(5).add(createLabel()).strut(10).add(viewBtn);
        return row.container();
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder

        addControl(refreshButton, 0);
        return refreshButton;
    }

    private BoxBuilder createDisplayerComponent() {
        BoxBuilder p = BoxBuilder.horizontal();
        p.setBorder(Empty.border(0, 5, 0, 2));
        return p;
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder

        }
    }

    private JLabel addCaptionValuePair(String caption, String value, OneColumnPanel parent) {
        JLabel valueLabel = TextStyles.DefaultBold.makeLabel(value);
        BoxBuilder row = BoxBuilder.horizontal();
        row.addAllWithSpace(5, caption, valueLabel);
        parent.add(row);
        return valueLabel;
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder

    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder container = new BorderLayoutBuilder(0, 5);
        container.north(PackageResources.SearchParamsDefiner.BASE_DN);
        BoxBuilder pathRow = BoxBuilder.horizontal();
        pathRow.add(field).strut(5).add(basePathLabel);
        container.center(pathRow);
        container.decorate(canvas);
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder

            return p;
        }

        private UiProvider createButtonPanel() {
            setFixedButtonSize(false);
            BoxBuilder p = BoxBuilder.horizontal();
            p.glue().addAllWithSpace(15, createOKButton(), createCancelButton(), helpButton).glue();
            return p.setOpaque(false).withEmptyBorder(10, 0, 10, 0);
        }
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.