Package org.jitterbit.ui.widget

Examples of org.jitterbit.ui.widget.DropDownPanel$Displayer


        JComponent wrapper = new JPanel();
        layout.addToParent(wrapper, null);
        InterchangeViewUtils.configurePropertyFields(wrapper);
        boolean expanded = !transactionIsolationLevelDefiner.isDefaultLevel() || !fetchSizeField.isDefaultValue() ||
                !connectParamsDefiner.isEmpty() || manualConnectionStringDefiner.isSelected();
        DropDownPanel dropDown = DataLocationPanelUtils.createOptionsDropDown(wrapper, expanded);
        return dropDown.getDisplayer();
    }
View Full Code Here


        responseTargetSelector.addToLayout(optionsLayout);
        ignoreLinesDefiner.addToLayout(optionsLayout);
        httpPropertiesButton = new KongaButton(launchPropertiesEditorAction);
        launchPropertiesEditorAction.setTrigger(httpPropertiesButton);
        optionsLayout.add(null, InvisiblePanel.newPanel(httpPropertiesButton), false);
        DropDownPanel dropDown = DataLocationPanelUtils.createOptionsDropDown(
                        InvisiblePanel.newPanel(optionsLayout), false);
        return dropDown.getDisplayer();
    }
View Full Code Here

    }

    private DropDownPanel createDropDown() {
        JComponent layout = createLayout();
        boolean expanded = activator.isSelected();
        final DropDownPanel dd = new DropDownPanel(layout, PackageResources.CONNECTION_SECURITY, expanded);
        dd.decorateTitle(TextStyles.MediumBoldCaption);
        dd.setOpaque(false);
        dd.addChangeListener(new ChangeListener() {

            @Override
            public void stateChanged(ChangeEvent e) {
                if (dd.isShowing()) {
                    requestFocus();
                }
            }
        });
        return dd;
View Full Code Here

        col.add(getInputFieldForLayout(bccField));
        col.add(getInputFieldForLayout(replyToField));
        JComponent p = InvisiblePanel.newPanel();
        col.addToParent(p, null);
        UiUtils.setOpaqueRecursivelySkipDefaults(p, false);
        DropDownPanel ddp = new DropDownPanel(p, Strings.get("MessagePage.Optional"), false);
        ddp.requestFocusWhenExpanded(ccField.getInputComponent());
        return ddp.getDisplayer();
    }
View Full Code Here

        UiUtils.setOpaqueRecursivelySkipDefaults(p, false);
        dropDownPanel = createDropdownPanel(p);
    }

    private DropDownPanel createDropdownPanel(JComponent content) {
        DropDownPanel ddp = new DropDownPanel(content, Strings.get("MessagePage.Label.Authentication"), false);
        ddp.requestFocusWhenExpanded(activationCheck.getInputComponent());
        return ddp;
    }
View Full Code Here

        col.add(InputFieldFactory.getCapsule(connectionFactoryJndiNameField));
        JPanel contextPanel = InvisiblePanel.newPanel();
        jndiContextDefiner.addToParent(contextPanel, null);
        col.add(contextPanel);
        JPanel wrapper = InvisiblePanel.newPanel(col);
        DropDownPanel ddp = new DropDownPanel(wrapper, "JNDI settings", false);
        ddp.decorateTitle(TextStyles.MediumBoldCaption);
        ddp.setOpaque(false);
        return ddp.getDisplayer();
    }
View Full Code Here

        reset(loc);
    }
   
    @Override
    public void addToParent(Container parent, Object layout) {
        DropDownPanel dropDown = createDropDown();
        parent.add(dropDown.getDisplayer(), layout);
    }
View Full Code Here

    }
   
    private DropDownPanel createDropDown() {
        JComponent layout = createLayout();
        boolean expanded = textArea.getInputComponent().getDocument().getLength() > 0;
        final DropDownPanel dd = new DropDownPanel(layout, PackageResources.MessageSelector.TITLE, expanded);
        dd.decorateTitle(TextStyles.MediumBoldCaption);
        dd.setOpaque(false);
        dd.addChangeListener(new ChangeListener() {

            @Override
            public void stateChanged(ChangeEvent e) {
                if (dd.isShowing()) {
                    requestFocus();
                }
            }
        });
        return dd;
View Full Code Here

        reset(loc);
    }

    @Override
    public void addToParent(Container parent, Object layout) {
        DropDownPanel dropDown = createDropDown();
        parent.add(dropDown.getDisplayer(), layout);
    }
View Full Code Here

                if (btn.isSelected()) {
                    expanded = true;
                }
            }
        }
        advancedOptionsDropDown = new DropDownPanel(InvisiblePanel.newPanel(p),
                        Strings.get("Deploy.Page.Advanced"), expanded);
        advancedOptionsDropDown.decorateTitle(ADVANCED_STYLE);
        parent.add(advancedOptionsDropDown.getDisplayer());
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.widget.DropDownPanel$Displayer

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.