Package org.jitterbit.ui.input

Examples of org.jitterbit.ui.input.CheckBoxInputField


        setSendUndoEvents(true);
    }
   
    private CheckBoxInputField createField(String name, boolean selected) {
        String label = Strings.get("HttpPropertiesPanel." + name);
        CheckBoxInputField field = InputFieldFactory.getCheckBoxInputField(name, label, selected);
        addInputField(field);
        return field;
    }
View Full Code Here


        modePanel.setSelectedMode(qualMode);
        if (edifact == null) {
            edifactBox = null;
        } else {
            edifactBox = new KongaCheckBox("EDIFACT", edifact);
            addInputField(new CheckBoxInputField("EDIFACT", edifactBox));
        }
        addInputField(delimiterField, delimiterField, delimiterField);
        addInputField(stringQualifierField);
        stringQualifierField.addInputChangeListener(new QualiferModePanelEnabler());
        setOpaque(false);
View Full Code Here

        return (a != null ? (Transformation) a.getContent() : null);
    }

    private CheckBoxInputField createActivator(ChunkingOption current) {
        String label = "Enable &Chunking";
        CheckBoxInputField f = InputFieldFactory.getCheckBoxInputField(label, label);
        f.setSelected(current.isEnabled());
        return f;
    }
View Full Code Here

        return createDisplayer();
    }

    private JComponent createDisplayer() {
        JLabel checkLabel = new JLabel(PackageResources.PortPanel.DEFAULT);
        CheckBoxInputField checkInput = new CheckBoxInputField("", useDefaultPortBox, checkLabel);
        TwoColumnPanel grid = new TwoColumnPanel();
        grid.addRow(checkInput.getLabel(), checkInput.getInputComponent());
        grid.addRow(portNumberField.getLabel(), portNumberField.getInputComponent());
        JComponent display = InvisiblePanel.newPanel(grid);
        String title = PackageResources.PortPanel.TITLE;
        display.setBorder(StyleSheet.getDefaultTitleBorder(title));
        return display;
View Full Code Here

    private CheckBoxInputField createSchedulePolicyChoice(OperationWrapper op) {
        boolean selected = getPolicyChoice(op.getSchedulePolicy());
        JCheckBox check = new KongaCheckBox(
                        "Start even if previously scheduled operation is still running", selected);
        return new CheckBoxInputField("SchedulePolicy", check);
    }
View Full Code Here

     *            the initial selected state of the checkbox.
     * @return a <code>CheckBoxInputField</code> with the specifid properties.
     */
    public static CheckBoxInputField getCheckBoxInputField(String name, String label, boolean selected) {
        JCheckBox cb = new KongaCheckBox(label, selected);
        return new CheckBoxInputField(name, cb);
    }
View Full Code Here

            @Override
            public void itemStateChanged(ItemEvent e) {
                applyEndDateActivator();
            }
        });
        addInputField(new CheckBoxInputField(getString("Label.EndDate"), cb));
        return cb;
    }
View Full Code Here

    }
   
    private CheckBoxInputField createChoice(String name, String label, boolean value) {
        KongaCheckBox check = new KongaCheckBox(value);
        JLabel jlabel = new KongaLabel(ApplicationResources.MNEMONIC_FACTORY.fromString(label));
        CheckBoxInputField field = new CheckBoxInputField(name, check, jlabel);
        addInputField(field);
        return field;
    }
View Full Code Here

    }

    private CheckBoxInputField createDeleteSourceFileOption() {
        String name = Strings.get("File.DeleteSource.Name");
        String label = Strings.get("File.DeleteSource.Label");
        CheckBoxInputField f = InputFieldFactory.getCheckBoxInputField(name, label);
        f.getInputComponent().addItemListener(new DeleteSourceOptionListener());
        addInputField(f);
        return f;
    }
View Full Code Here

        }
    }

    private CheckBoxInputField createActivator(InputPanel parent) {
        JCheckBox cb = new KongaCheckBox(PackageResources.LifeTimeDefiner.ACTIVATOR_LABEL);
        CheckBoxInputField field = new CheckBoxInputField("Activator", cb);
        parent.addInputField(field);
        return field;
    }
View Full Code Here

TOP

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

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.