Package org.jitterbit.ui.layout

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


    }

    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 2);
        layout.north(getString("UpdateKeys.Caption")).center(new JScrollPane(tree)).south(layoutButtons());
        layout.setOpaqueRecursively(false);
        layout.decorate(canvas);
        selectNode(treeModel.getRoot().getChildAt(0));
    }
View Full Code Here


        }
    }

    private JComponent layoutComponents(String title, Icon icon, String caption) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        layout.north(layoutTitle(title, icon)).center(getContent(caption));
        return layout.container();
    }

    private Object layoutTitle(String title, Icon icon) {
        JLabel titleLabel = TextStyles.DropDownPanelTitle.makeLabel(title);
View Full Code Here

        for (Action a : controller.getAllStatusActions()) {
            buttons.add(new KongaButton(a));
        }
        buttonRow.addAll(buttons);
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 10);
        return layout.north(caption).center(buttonRow).container();
    }


    private class StatusBinding extends AbstractBinding<EnumSet<ServerStatus>> {
View Full Code Here

    }

    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 4);
        layout.north(layoutToolbar()).center(tree);
        layout.decorate(canvas);
    }
   
    private JComponent layoutToolbar() {
        BoxBuilder row = BoxBuilder.horizontal().bottomAligned();
View Full Code Here

        // Nothing gets focus
    }
   
    private JComponent layoutComponents(String title, Icon icon) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        layout.north(layoutTitle(title, icon)).center(getButtonBox());
        return layout.container();
    }
   
    private Object layoutTitle(String title, Icon icon) {
        JLabel titleLabel = TextStyles.DropDownPanelTitle.makeLabel(title);
View Full Code Here

                OneColumnPanel col = new OneColumnPanel();
                col.setInsets(0, 0, 15, 0);
                col.add(caption);
                col.setFillOut();
                col.add(row);
                layout.north(col);
            } else {
                layout.north(row);
            }
            layout.center(new JLabel(" "));
            layout.decorate(canvas);
View Full Code Here

                col.add(caption);
                col.setFillOut();
                col.add(row);
                layout.north(col);
            } else {
                layout.north(row);
            }
            layout.center(new JLabel(" "));
            layout.decorate(canvas);
        }
       
View Full Code Here

            portField.addToLayout(top);
            hostPathField.addToLayout(top);
            fileLocationPanel.layoutLoginControl(top);
            addAdditionalTopControls(top);
            BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 10);
            layout.north(InvisiblePanel.newPanel(top));
            layout.center(layoutOptionalFields());
            wrap(layout);
        }

        protected abstract void addAdditionalTopControls(DataLocationPanelLayout top);
View Full Code Here

            north.setInsets(0, 0, 10, 0);
            north.setWeightX(1.0);
            north.addAll(getCapsule(nlstOption),
                            fileLocationPanel.getAfterProcessingLayout(),
                            fileLocationPanel.getIgnoreLineFieldsForLayout());
            layout.north(north).center(layoutTransferTypeAndSecurityOptions());
            return layout;
        }

    }
View Full Code Here

    private UiProvider layoutForSource(DataLocationPanelLayout layout) {
        layoutLoginControl(layout);
        layoutSourceFileFilterControls(layout);
        BorderLayoutBuilder wrapper = new BorderLayoutBuilder(0, 10);
        wrapper.north(InvisiblePanel.newPanel(layout));
        wrapper.center(layoutOptionalControls());
        return wrapper;
    }

    private UiProvider layoutForTarget(DataLocationPanelLayout layout) {
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.