Examples of KongaRadioButton


Examples of org.jitterbit.ui.widget.button.KongaRadioButton

    public StructureFileSelectionUi(StructureFileSelectionModel model) {
        EnumSet<FileInputMode> inputModes = model.getAllInputModes();
        if (inputModes.contains(FileInputMode.LOCAL)) {
            // This is XML
            existingStructureChoice = new KongaRadioButton("Select an &existing XML structure");
            existingFileSelector = ExistingFileSelectionUi.forXml(model);
            uploadLocalFileChoice = new KongaRadioButton("&Upload an XML structure file (DTD or Schema)");
            localFileSelector = createFileSelector();
            fromSampleFileChoice = new KongaRadioButton("Create a &new XML structure from a sample file (next page)");
        } else {
            // This is JSON
            existingStructureChoice = new KongaRadioButton("Select an &existing JSON structure");
            existingFileSelector = ExistingFileSelectionUi.forJson(model);
            uploadLocalFileChoice = null;
            localFileSelector = null;
            fromSampleFileChoice = new KongaRadioButton("Create a &new JSON structure from a sample file (next page)");
        }
        listenToUi();
        bindProperties(model);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.button.KongaRadioButton

    private final KongaRadioButton contains;

    public NameFilterField() {
        field = new KongaTextField(20);
        field.setSelectAllWhenFocused(true);
        startsWith = new KongaRadioButton("Starts &with", false);
        contains = new KongaRadioButton("&Contains", true);
        ButtonUtils.makeMutuallyExclusive(startsWith, contains);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.button.KongaRadioButton

    private final JRadioButton always;
   
    private final JRadioButton whenNeeded;
   
    public QualifierModePanel(InputPanel parent) {
        always = new KongaRadioButton("Always");
        whenNeeded = new KongaRadioButton("Only when needed", true);
        registerWithParent(parent);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.button.KongaRadioButton

            @Override
            public void actionPerformed(ActionEvent e) {
                updateModelStructureType();
            }
        };
        flatOption = new KongaRadioButton(resources.getString("Label.SimpleTextOption"), true);
        flatOption.addActionListener(lst);
        complexOption = new KongaRadioButton(resources.getString("Label.ComplexTextOption"), false);
        complexOption.addActionListener(lst);
        ButtonUtils.makeMutuallyExclusive(flatOption, complexOption);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.button.KongaRadioButton

            @Override
            public void actionPerformed(ActionEvent e) {
                updateModelSegmentType();
            }
        };
        delimitedOption = new KongaRadioButton(resources.getString("Label.CharacterOption"), true);
        delimitedOption.addActionListener(lst);
        fixedOption = new KongaRadioButton(resources.getString("Label.FixedWidthOption"), false);
        fixedOption.addActionListener(lst);
        ButtonUtils.makeMutuallyExclusive(delimitedOption, fixedOption);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.button.KongaRadioButton

    private final JRadioButton no;

    public BooleanPropertySearchField(SearchableProperty<Boolean> property) {
        this.property = property;
        this.yes = new KongaRadioButton("Yes", true);
        this.no = new KongaRadioButton("No", false);
        ButtonUtils.makeMutuallyExclusive(yes, no);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.button.KongaRadioButton

    private final JRadioButton and;

    private final JRadioButton or;

    public SearchFieldCombineModeUi() {
        and = new KongaRadioButton("&AND", true);
        or = new KongaRadioButton("&OR", false);
        ButtonUtils.makeMutuallyExclusive(and, or);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.button.KongaRadioButton

       
        private OptionSelector<ResolutionOption> createSelector(ResolutionOption option,
                                                                  ButtonGroup buttons,
                                                                  JComponent parent,
                                                                  GridBagConstraints gbc) {
            JRadioButton b = new KongaRadioButton("", option == DEFAULT_OPTION, buttons);
            if (option == ResolutionOption.RENAME_NEW) {
                customizeRenameNewRadioButton(b);
            }
            parent.add(b, gbc);
            return new ToggleButtonOptionSelector<ResolutionOption>(option, b);
View Full Code Here

Examples of org.jitterbit.ui.widget.button.KongaRadioButton

        addChangeSource(group);
        return group;
    }
   
    private JRadioButton createRadioButton(String label, ButtonGroup group) {
        JRadioButton b = new KongaRadioButton(label, false, group);
        b.setOpaque(false);
        return b;
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.button.KongaRadioButton

    private Receiver<CreateXsdResult> receiver = NoReceiver.create();
   
    public boolean includeXsdFileReview = true;
   
    public SampleFileToXsdUi(FileType fileType) {
        localFileChoice = new KongaRadioButton("Use a &local " + fileType + " file", true);
        fileSelector = createFileSelector(fileType);
        remoteFileChoice = new KongaRadioButton("&URL to a remote " + fileType + " file", true);
        urlField = new KongaTextField(40);
        urlField.setSelectAllWhenFocused(true);
        xsdFileNameField = new FileNameField("XSD File Name", "(Optional) XSD file &name:", 40);
        xsdFileNameField.setRequired(false);
        xsdFileNameField.setTextWhenEmpty("A file name will be generated automatically if empty");
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.