Examples of DropDownPanel


Examples of org.jitterbit.ui.widget.DropDownPanel

        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);
        return dd;
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.DropDownPanel

    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.widget.DropDownPanel

        }
    }

    private DropDownPanel createDropDownPanel(InputPanel content, String title, Icon icon, boolean expanded) {
        content.getUi().setBorder(Empty.border(0, 25, 0, 0));
        DropDownPanel ddp = new DropDownPanel(content.getUi(), title, expanded);
        ddp.setTitleIcon(icon);
        ddp.setOpaque(false);
        return ddp;
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.DropDownPanel

        String title = getString("Label.Duration");
        layoutDropDownPanel(parent, durationPanel.getUi(), title);
    }

    private void layoutDropDownPanel(Layout parent, JComponent contents, String title) {
        DropDownPanel ddp = new DropDownPanel(contents, title, false);
        JComponent disp = ddp.getDisplayer();
        parent.add(disp);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.DropDownPanel

    private JComponent createDisplayer() {
        JComponent p = BorderLayoutBuilder.fillWith(table);
        UiUtils.setOpaqueRecursivelySkipDefaults(p, false);
        boolean expanded = table.getNumberOfDisplayedProperties() > 0;
        DropDownPanel ddp = new DropDownPanel(p, PackageResources.UserDefinedProperties.TITLE, expanded);
        return ddp.getDisplayer();
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.DropDownPanel

*/
public final class DataLocationPanelUtils {

    public static DropDownPanel createOptionsDropDown(JComponent ui, boolean expanded) {
        ui.setBorder(Empty.border(5, 25, 0, 0));
        DropDownPanel dropDown = new DropDownPanel(ui, getString("Optional"), expanded);
        return dropDown;
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.DropDownPanel

        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

Examples of org.jitterbit.ui.widget.DropDownPanel

        protected final JComponent layoutOptionalFields() {
            UiProvider optional = getOptionalControls();
            JComponent ui = new BorderLayoutBuilder().north(optional).container();
            ui.setBorder(Empty.border(0, 15, 0, 0));
            InterchangeViewUtils.configurePropertyFields(ui);
            DropDownPanel dropDown = new DropDownPanel(ui, "&Options", false);
            return dropDown.getDisplayer();
        }
View Full Code Here

Examples of org.jitterbit.ui.widget.DropDownPanel

        p.add(afterProcessingPanel.getUi());
        p.setFillNone();
        p.add(ignoreLinesPanel.getUi());
        JComponent ui = new BorderLayoutBuilder().north(p).container();
        InterchangeViewUtils.configurePropertyFields(ui);
        DropDownPanel dropDown = DataLocationPanelUtils.createOptionsDropDown(ui, false);
        return dropDown.getDisplayer();
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.DropDownPanel

        p.addActionListener(lst);
        return p;
    }

    private DropDownPanel createTypeSelectorDropdown() {
        DropDownPanel ddp = new DropDownPanel(
                entityTypePanel.getDisplayer(), getString("Search.TypeDropDown.Title"), false);
        ddp.addChangeListener(new ChangeListener() {

            @Override
            public void stateChanged(ChangeEvent e) {
                Window w = SwingUtilities.getWindowAncestor(displayer);
                if (w instanceof JDialog) {
                    w.pack();
                }
            }
        });
        ddp.setTitleFont(TextStyles.AdminHint.getFont());
        return ddp;
    }
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.