Examples of OneColumnPanel


Examples of org.jitterbit.ui.layout.OneColumnPanel

    private static final class Layout {

        private final OneColumnPanel layout;

        public Layout() {
            layout = new OneColumnPanel();
            layout.setInsets(new Insets(2, 0, 2, 0));
        }
View Full Code Here

Examples of org.jitterbit.ui.layout.OneColumnPanel

        }
        canvas.display(ui);
    }

    private JComponent createUi() {
        OneColumnPanel p = new OneColumnPanel();
        p.setFill(OneColumnPanel.HORIZONTAL);
        p.setWeightX(1.0);
        p.setInsets(0, 0, 10, 0);
        p.add(createBrowserCapsule());
        p.add(destinationPanel);
        p.add(parametersDefiner);
        /* TODO: Display the search UI in a popup dialog.
        p.setFill(OneColumnPanel.BOTH);
        p.add(searchDropDown.getDisplayer());
        */
        if (doImportAction != null) {
            p.setFillNone();
            p.add(createImportButtonCapsule());
        }
        JComponent p2 = fixedWidth ? InvisiblePanel.newPanel(p) : new BorderLayoutBuilder().north(p).container();
        UiUtils.setOpaqueRecursivelySkipDefaults(p2, false);
        p2.setBorder(Empty.border(5));
        return p2;
View Full Code Here

Examples of org.jitterbit.ui.layout.OneColumnPanel

        });
        return tables;
    }

    private OneColumnPanel createDisplayer() {
        OneColumnPanel cols = new OneColumnPanel();
        cols.setFill(OneColumnPanel.BOTH);
        cols.setWeightX(1.0);
        cols.setWeightY(1.0 / tables.size());
        cols.setInsets(2, 0, 10, 0);
        for (WhereClauseTable t : tables) {
            UiProvider tableUi = t.getUi();
            DropDownPanel ddp = new DropDownPanel(BorderLayoutBuilder.fillWith(tableUi), t.getDbObject().getName(), true);
            ddp.setOpaque(false);
            cols.add(ddp.getDisplayer());
        }
        cols.setOpaque(false, false);
        cols.setBorder(Empty.border(0, 5, 5, 20));
        return cols;
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.OneColumnPanel

        p2.setBorder(Empty.border(5));
        return p2;
    }

    private OneColumnPanel createBrowserCapsule() {
        OneColumnPanel p = new OneColumnPanel();
        p.setWeightX(1.0);
        p.add(jpBrowser);
        p.setFill(OneColumnPanel.NONE);
        p.setWeightX(0.0);
        JButton examine = ButtonUtils.createLabelButton(examineFileAction, StyleSheet.LinkButton.asTextDecorator());
        ButtonUtils.enableRolloverForButton(examine);
        p.add(examine);
        return p;
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.OneColumnPanel

        action.setTrigger(passwordButton);
        return btn;
    }

    private void layoutComponents() {
        OneColumnPanel p = new OneColumnPanel();
        p.setInsets(0, 5, 10, 5);
        layoutUserField(p);
        p.setFill(OneColumnPanel.NONE);
        layoutPasswordButton(p);
        p.setFill(OneColumnPanel.HORIZONTAL);
        wrap(p);
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.OneColumnPanel

        }

        public void layoutIn(WizardPageLayout layout) {
            Flow fieldLayout = Flow.invisible();
            fieldLayout.add(field.getLabel(), field.getInputComponent());
            OneColumnPanel col = new OneColumnPanel();
            col.setInsets(0, 0, 5, 0);
            col.setWeightX(1.0);
            col.add(caption).add(fieldLayout);
            layout.add(col, false, false);
        }
View Full Code Here

Examples of org.jitterbit.ui.layout.OneColumnPanel

        });
    }

    @Override
    public void display(Container parent) {
        OneColumnPanel col = new OneColumnPanel();
        col.setInsets(5, 5, 10, 5);
        col.setWeightX(1.0);
        layoutNonActivityPrefs(col);
        col.add(activityPrefs);
        col.setBorder(Empty.border(10, 0, 10, 0));
        BorderLayoutBuilder.from(parent).north(col);
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.OneColumnPanel

        col.setBorder(Empty.border(10, 0, 10, 0));
        BorderLayoutBuilder.from(parent).north(col);
    }
   
    private void layoutNonActivityPrefs(OneColumnPanel parent) {
        OneColumnPanel layout = new OneColumnPanel();
        layout.setWeightX(1.0);
        layout.setInsets(0, 0, 15, 0);
        layout.add(layoutNewOperationSettings());
        layout.add(runOperationMessage);
        parent.add(InvisiblePanel.newPanel(layout));
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.OneColumnPanel

        if (localFileSelector == null) {
            BorderLayoutBuilder layout = new BorderLayoutBuilder();
            layout.northToSouth(existingStructureChoice, wrapFileSelector(existingFileSelector), fromSampleFileChoice);
            layout.decorate(canvas);
        } else {
            OneColumnPanel col = new OneColumnPanel();
            col.setWeightX(1.0);
            col.setFill(Fill.HORIZONTAL);
            col.add(existingStructureChoice);
            col.setWeightY(1.0);
            col.setFill(Fill.BOTH);
            col.add(wrapFileSelector(existingFileSelector));
            col.setWeightY(0.0);
            col.setFill(Fill.HORIZONTAL);
            col.addAll(uploadLocalFileChoice, wrapFileSelector(localFileSelector));
            col.add(fromSampleFileChoice);
            col.decorate(canvas);
        }
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.OneColumnPanel

        dropDown.decorateTitle(WizardStyleSheet.MEDIUM_CAPTION_STYLE);
        return dropDown.getDisplayer();
    }

    private UiProvider layoutEncryptionSection() {
        OneColumnPanel c = new OneColumnPanel();
        c.setWeightX(1.0);
        c.setInsets(0, 0, 5, 0);
        c.add(encryptionBox);
        c.setInsets(0, 0, 0, 0);
        pwdField.addTo(c);
        return c;
    }
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.