Package org.jitterbit.ui.layout

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.north()


    @Override
    public void addToLayout(DataLocationPanelLayout layout) {
        layout.add(InputFieldFactory.getCapsule(enabler, InputFieldFactory.HORIZONTAL_LABEL_LEFT), false);
        BorderLayoutBuilder fieldCapsule = new BorderLayoutBuilder().withEmptyBorder(0, 25, 0, 0);
        fieldCapsule.north(field.getInputComponent());
        layout.add(fieldCapsule.container(), true);
    }

    @Override
    public void applyTo(DatabaseLocation loc) {
View Full Code Here


    }

    private JComponent createContent() {
        TextStyle labelStyle = TextStyles.InfoText;
        BorderLayoutBuilder p = new BorderLayoutBuilder(0, 5);
        p.north(labelStyle.makeLabel(PackageResources.DirtyDelegates.Messages.TOP));
        p.center(entityList);
        p.south(labelStyle.makeLabel(PackageResources.DirtyDelegates.Messages.BOTTOM));
        return p.container();
    }
View Full Code Here

    }

    @Override
    public final void decorate(UiCanvas canvas) {
        BorderLayoutBuilder cp = new BorderLayoutBuilder(0, 10);
        cp.north(getCaption()).center(getOptions());
        cp.decorate(canvas);
    }

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

    private void addDestinationsList(BorderLayoutBuilder cp) {
        String caption = getString("ExportSettingsDialog.Destinations");
        JLabel label = TextStyles.InfoText.makeLabel(caption);
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 3);
        layout.north(label).center(destinationSelector);
        cp.center(layout);
    }

    private ExportablePropertySelector createPropertySelector(ExportableProperty[] props) {
        ExportablePropertySelector selector = new ExportablePropertyCheckBoxSelector(props);
View Full Code Here

        serverDefiner.addToLayout(top);
        databaseDefiner.addToLayout(top);
        loginDefiner.addToLayout(top);
        portDefiner.addToLayout(top);
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        layout.north(InvisiblePanel.newPanel(top));
        layout.south(layoutOptionalFields());
        wrap(layout);
    }

    private JComponent layoutOptionalFields() {
View Full Code Here

        setMainPanel(layout.asCenterBorderLayout());
    }

    private JComponent layoutComponents() {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 20);
        layout.north(BoxBuilder.horizontal().addAllWithSpace(10, yes, no));
        layout.center(cards);
        return layout.container();
    }

View Full Code Here

    }

    private boolean isGreenLighted() {
        IntegrationEntityList list = new IntegrationEntityList(affectedTransformations);
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 3);
        layout.north("<html>You are about to change the type of this " +
                getLocatable().getID().getEntityType() + ".<br>" +
                "A consequence of this is that following transformations will be deleted:").center(list).south(
                        "This cannot be undone.");
        return Ask.continueOrCancel(null, layout, "Are you sure?", Option.CONTINUE, Type.WARNING).isContinue();
    }
View Full Code Here

            return b;
        }

        private void layoutComponents() {
            BorderLayoutBuilder cp = new BorderLayoutBuilder(list);
            cp.north(PackageResources.SavePrompt.CAPTION).south(buttons).withEmptyBorder(10, 10, 10, 10);
            cp.asContentPaneFor(this);
        }
    }
   
}
View Full Code Here

            @Override
            public void actionPerformed(ActionEvent e) {
                BorderLayoutBuilder layout = new BorderLayoutBuilder();
                final JTextField field = new JTextField(20);
                layout.north(field);
                JButton alert = new JButton("alert");
                alert.addActionListener(new ActionListener() {

                    @Override
                    public void actionPerformed(ActionEvent e) {
View Full Code Here

        }
    }
   
    private JComponent layoutWindow() {
        BorderLayoutBuilder p = new BorderLayoutBuilder(itemList);
        p.north(caption);
        p.setBorder(BorderFactory.createLineBorder(Color.BLACK));
        return p.container();
    }
   
    private void cancel() {
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.