Package org.jitterbit.ui.layout

Examples of org.jitterbit.ui.layout.OneColumnPanel


        cp.center(layoutInputArea(de_migrating)).south(layoutDialogButtons());
        cp.asContentPaneFor(this);
    }
   
    private UiProvider layoutInputArea(String de_migrating) {
        OneColumnPanel p = new OneColumnPanel();
        p.setInsets(0, 0, 5, 0);
        p.setBorder(Empty.border(10));
        p.setWeightX(1.0);
        p.add(getCaption(de_migrating));
        p.setFillOut();
        p.add(new JScrollPane(inputArea));
        p.setFillNone();
        p.setAnchor(OneColumnPanel.EAST);
        p.add(new KongaButton(resetAction));
        return p;
    }
View Full Code Here


        ActionKeyBinding.install(continueAction, layout.container(), JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
        return layout;
    }

    private UiProvider layoutCaption() {
        OneColumnPanel col = new OneColumnPanel();
        col.setWeightX(1.0).setInsets(0, 0, 5, 0);
        col.addAll(WizardStyleSheet.caption("Operation Activity"), "What do you want this operation to do?");
        return col;
    }
View Full Code Here

        cp.south(getDialogButtons());
        cp.asContentPaneFor(this);
    }
   
    private UiProvider getMessageArea(String error, String expression, String question) {
        OneColumnPanel col = new OneColumnPanel();
        col.setInsets(0, 0, 10, 0);
        col.setWeightX(1.0);
        col.add(MigrationDialogUtils.getReadOnlyTextDisplay(error));
        col.setFillOut();
        col.add(getExpressionArea(expression));
        col.setFill(OneColumnPanel.HORIZONTAL);
        col.setWeightY(0.0);
        col.add(MigrationDialogUtils.getReadOnlyTextDisplay(question));
        col.setBorder(Empty.border(10, 10, 0, 10));
        return col;
    }
View Full Code Here

        JComponent c = createDisplayer();
        canvas.display(c);
    }

    private JComponent createDisplayer() {
        OneColumnPanel col = new OneColumnPanel();
        col.add(getTypeSelectorCapsule());
        col.add(selectorArea.getDisplayer());
        JPanel p = InvisiblePanel.newPanel();
        col.addToParent(p, null);
        p.setBorder(Empty.border(5, 20, 0, 0));
        DropDownPanel ddp = new DropDownPanel(p, PackageResources.PayloadStructureDefiner.TITLE, true);
        return ddp.getDisplayer();
    }
View Full Code Here

        public void decorate(UiCanvas canvas) {
            BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 15);
            if (title != null && title.length() > 0) {
                JLabel caption = TextStyles.AdminHintBold.makeLabel(title);
                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(" "));
View Full Code Here

       
        private void layoutSearchUi() {
            row.setInsets(0, 0, 0, 10);
            row.setFill(OneRowPanel.HORIZONTAL);
            row.setWeightX(1.0);
            OneColumnPanel col = new OneColumnPanel();
            col.setInsets(0, 0, 10, 0);
            addSearchField(col);
            addOptionsUi(col);
            row.add(col);
        }
View Full Code Here

       
        private void layoutButtons() {
            row.setInsets(0, 0, 0, 0);
            row.setFill(OneRowPanel.HORIZONTAL);
            row.setWeightX(0.0);
            OneColumnPanel col = new OneColumnPanel();
            col.setInsets(0, 0, 10, 0);
            col.add(new KongaButton(findNextAction));
            row.add(col);
        }
View Full Code Here

    public void requestFocus() {
        infoDisplayer.requestFocus();
    }
   
    private UiProvider createDisplayer() {
        OneColumnPanel col = new OneColumnPanel();
        col.setInsets(0, 0, 10, 0);
        col.add(infoDisplayer);
        col.setFillNone();
        col.add(new KongaButton(new WizardLauncher()));
        return col;
    }
View Full Code Here

            }
        };
    }

    private void layoutComponents() {
        OneColumnPanel col = new OneColumnPanel();
        col.setInsets(3, 5, 10, 10);
        col.add(InputFieldFactory.getCapsule(pathField));
        JPanel p = InvisiblePanel.newPanel();
        fileLocationPanel.layoutComponents(p, null);
        col.add(p);
        wrap(col);
    }
View Full Code Here

            driverFieldUi.setToolTip("Must specify a driver");
        }
    }

    private void layoutDriverField(OneRowPanel parent) {
        OneColumnPanel col = new OneColumnPanel();
        col.setFillNone();
        col.setInsets(0, 0, 0, 2);
        col.add(driverField.getLabel());
        col.add(driverFieldUi.asUiProvider());
        parent.add(col);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.layout.OneColumnPanel

Copyright © 2018 www.massapicom. 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.