Package org.jitterbit.ui.input

Examples of org.jitterbit.ui.input.ComboBoxInputField


    }

    private void addInputFields() {
        addInputField(delayField, delayField, delayField);
        addInputField(dataLimitField, dataLimitField, dataLimitField);
        addInputField(new ComboBoxInputField("Size", sizeUnitCombo, null));
    }
View Full Code Here


    }

    private OperationTypeComboBox createTypeSelector(OperationWrapper op) {
        final OperationTypeComboBox combo = new OperationTypeComboBox();
        combo.setSelectedOperationType(op.getPipeline().getType());
        panel.addInputField(new ComboBoxInputField(Strings.get("ExpandedOptions.Activity"), combo, null));
        combo.addItemListener(new ItemListener() {

            @Override
            public void itemStateChanged(ItemEvent e) {
                OperationType type = combo.getSelectedOperationType();
View Full Code Here

        JLabel jlabel = (label != null && label.length() > 0) ? new JLabel(label) : null;
        return getComboBoxInputField(name, combo, jlabel);
    }

    public static ComboBoxInputField getComboBoxInputField(String name, JComboBox combo, JLabel jlabel) {
        return new ComboBoxInputField(name, combo, jlabel);
    }
View Full Code Here

                TimeZoneItem tzItem = (TimeZoneItem) object;
                dateTimeDisplayer.setTimeZone(tzItem.getTimeZone());
            }
        });
        String label = getString("Label.SelectTimeZone");
        return new ComboBoxInputField(label, combo, new JLabel(label));
    }
View Full Code Here

        frontLabel = new JLabel(getString("The"));
    }

    private void addInputComponents() {
        addInputPanel(every_X_month_panel);
        addInputField(new ComboBoxInputField("", dayNumBox, null));
        addInputField(new ComboBoxInputField("", weekDayBox, null));
    }
View Full Code Here

        return hmsLabels;
    }

    private void addInputFields() {
        addInputField(everyNumField, everyNumField, everyNumField);
        addInputField(new ComboBoxInputField(getString("Frequency.TimeUnit.Name"), everyHMSBox, null));
        addInputField(new TimeOfTheDayInputField(getString("Frequency.StartTime.Name"), startTimeSelector));
        addInputField(new TimeOfTheDayInputField(getString("Frequency.EndTime.Name"), endTimeSelector));
    }
View Full Code Here

    }


    private ComboBoxInputField createSourceBox(List<WizardType> inputTypes) {
        ComboBoxModel model = createSourceComboModel(inputTypes);
        ComboBoxInputField field = createComboInput(model,
                        Strings.mnemonic("StartPage.Label.Source"),
                        Strings.get("StartPage.SelectSource"));
        DataStructure in = transformation.getInputStructure();
        if (in != null) {
            setSelection(field, in.getStructureType());
View Full Code Here

        return model;
    }

    private ComboBoxInputField createTargetBox(List<WizardType> outputTypes) {
        ComboBoxModel model = createTargetComboModel(outputTypes);
        ComboBoxInputField field = createComboInput(model,
                        Strings.mnemonic("StartPage.Label.Target"),
                        Strings.get("StartPage.SelectTarget"));
        DataStructure out = transformation.getOutputStructure();
        if (out != null) {
            setSelection(field, out.getStructureType());
View Full Code Here

    private ComboBoxInputField createComboInput(ComboBoxModel model, MnemonicString label, String nullString) {
        JComboBox tb = new JComboBox(model);
        tb.setRenderer(new Renderer(nullString));
        tb.setMaximumRowCount(16);
        ComboBoxInputField f = new ComboBoxInputField(label.getText(), tb, new KongaLabel(label));
        f.setSelectedIndex(-1);
        return f;
    }
View Full Code Here

    private void createPriorityField(Schedule schedule) {
        String name = getString("Label.Priority");
        JComboBox cb = new JComboBox(SchedulePriority.values());
        cb.setSelectedItem(schedule.getPriority());
        prioritySelector = new ComboBoxInputField(name, cb, new JLabel(name));
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.input.ComboBoxInputField

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.