Examples of OneColumnPanel


Examples of org.jitterbit.ui.layout.OneColumnPanel

    private class Layout {

        private final OneColumnPanel components;

        public Layout() {
            components = new OneColumnPanel();
            components.setWeightX(1.0);
            components.setInsets(0, 0, 10, 0);
            layoutDownloadButtonAndFilterField();
            components.add(includeSchemaBox);
            layoutSelectionWidget();
View Full Code Here

Examples of org.jitterbit.ui.layout.OneColumnPanel

    private static class Section {

        private final OneColumnPanel col;

        public Section(String title, String caption, JCheckBox checkBox) {
            col = new OneColumnPanel();
            col.setInsets(5, 5, 5, 5);
            addTitle(title);
            addCaption(caption);
            addCheckBox(checkBox);
        }
View Full Code Here

Examples of org.jitterbit.ui.layout.OneColumnPanel

        DropDownPanel dd = createDropDown();
        InvisiblePanel.convertAndAdd(getUi(), dd.getDisplayer());
    }
   
    private DropDownPanel createDropDown() {
        OneColumnPanel col = new OneColumnPanel();
        col.setInsets(0, 0, 5, 0);
        col.setFillOut();
        col.add(new JScrollPane(textArea.getInputComponent()));
        col.setFillNone();
        col.add(new KongaButton(viewPropertiesAction));
        boolean expanded = isSelectorDefinedInOperation();
        DropDownPanel dd = new DropDownPanel(InvisiblePanel.newPanel(col), PackageResources.MessageSelector.TITLE,
                        expanded);
        dd.decorateTitle(TextStyles.SmallBoldCaption);
        dd.setOpaque(false);
View Full Code Here

Examples of org.jitterbit.ui.layout.OneColumnPanel

    public Source getSelectedSource() {
        return transformationChainDefiner.getSelectedSource();
    }

    private void doLayout() {
        OneColumnPanel col = new OneColumnPanel();
        col.setInsets(0, 0, 20, 0);
        col.add(InvisiblePanel.newPanel(transformationChainDefiner));
        col.setFillOut();
        col.add(selectorDefiner);
        wrap(col);
        UiUtils.setOpaqueRecursivelySkipDefaults(getUi(), false);
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.OneColumnPanel

        panel.addInputPanel(p);
        return p;
    }

    private void doLayout() {
        OneColumnPanel col = new OneColumnPanel();
        col.setInsets(0, 0, 20, 0);
        layoutTopPart(col);
        DropDownPanel success = createDropDownPanel(onSuccessPanel,
                        Strings.get("ExpandedOptions.OnSuccess"), GraphResources.SUCCESS_24, true);
        col.add(success.getDisplayer());
        DropDownPanel failure = createDropDownPanel(onFailurePanel,
                        Strings.get("ExpandedOptions.OnFailure"), GraphResources.FAILURE_24, true);
        col.add(failure.getDisplayer());
        DropDownPanel schedule = createDropDownPanel(schedulePanel, Strings.get("ExpandedOptions.Schedule"),
                        EntityIcons.forType(EntityType.Schedule).getDefaultIcon(Size.MEDIUM), false);
        checkSchedulable(schedule);
        col.add(schedule.getDisplayer());
        DropDownPanel options = createDropDownPanel(optionsPanel, Strings.get("ExpandedOptions.Options"),
                        ClientIcons.getIcon("Options.24"), false);
        col.add(options.getDisplayer());
        panel.wrap(col);
        panel.setBorder(new BorderBuilder().etched().empty(10));
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.OneColumnPanel

        box.add(field);
        return box.container();
    }

    private JComponent layoutVertically(UiCanvas canvas) {
        OneColumnPanel col = new OneColumnPanel();
        col.setWeightX(1.0);
        col.setFill(Fill.HORIZONTAL);
        col.setInsets(0, 0, 2, 0);
        col.add(label);
        col.setInsets(0, 0, 0, 0);
        col.add(field);
        col.decorate(canvas);
        return col.getUi();
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.OneColumnPanel

    public static JComponent layoutButtons(JButton... buttons) {
        Grid grid = Grid.oneRow(10);
        grid.addAll(buttons);
        grid.setOpaque(false);
        OneColumnPanel panel = new OneColumnPanel();
        panel.setAnchor(Anchor.EAST);
        panel.add(grid);
        panel.setBackground(Colors.JITTERBIT_BLUE);
        return panel.getUi();
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.OneColumnPanel

                field.requestFocus();
            }

            @Override
            public void decorate(UiCanvas canvas) {
                OneColumnPanel col = new OneColumnPanel();
                col.setInsets(0, 0, 5, 0);
                col.addAll("Command Line", field);
                col.decorate(canvas);
            }
        }, getClass().getSimpleName());
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.OneColumnPanel

        }
    }

    @Override
    public void decorate(UiCanvas canvas) {
        OneColumnPanel col = new OneColumnPanel();
        col.setWeightX(1.0);
        col.setInsets(2, 2, 2, 2);
        searchField.layoutIn(col);
        if (ruleSelector != null) {
            col.add(ruleSelector);
        }
        col.decorate(canvas);
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.OneColumnPanel

    public WizardPageLayout() {
        this(null, null);
    }

    public WizardPageLayout(String mainCaption, String subCaption) {
        layout = new OneColumnPanel();
        layout.setInsets(0, 0, 10, 0);
        layout.setBorder(Empty.border(5));
        empty = true;
        transparent = true;
        if (StringUtils.isNotBlank(mainCaption) || StringUtils.isNotBlank(subCaption)) {
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.