Package org.jitterbit.ui.widget.button

Examples of org.jitterbit.ui.widget.button.KongaCheckBox.addActionListener()


        this.denyBox = createCheckBox();
    }

    private JCheckBox createCheckBox() {
        JCheckBox cb = new KongaCheckBox();
        cb.addActionListener(this);
        return cb;
    }

    public boolean isAllowed() {
        return allowBox.isSelected();
View Full Code Here


        recursiveCheck = createCheckBox(Strings.get("Permissions.Label.ApplyRecursive"), false);
    }

    private JCheckBox createCheckBox(String label, boolean selected) {
        JCheckBox cb = new KongaCheckBox(label, selected);
        cb.addActionListener(this);
        return cb;
    }

    private void updateOtherPermissionsFromRead() {
        if (readChecks == null) {
View Full Code Here

            if (f.getProperty() instanceof ReplaceableProperty) {
                replace = new ReplaceAction(f);
                replaceActions.put(f, replace);
            }
            KongaCheckBox checkBox = new KongaCheckBox();
            checkBox.addActionListener(new Enabler(f, replace));
            this.fields.put(checkBox, f);
        }
    }

    @Override
View Full Code Here

    }

    private JCheckBox createBackupChoice() {
        JCheckBox cb = new KongaCheckBox(Strings.get("StructureEditor.StartPage.Backup.Choice"));
        cb.setSelected(EditStructurePreferences.CREATE_BACKUP.get());
        cb.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent e) {
                EditStructurePreferences.CREATE_BACKUP.set(isBackupRequested());
            }
View Full Code Here

    }

    private JCheckBox createMigrationChoice() {
        JCheckBox cb = new KongaCheckBox(Strings.get("StructureEditor.StartPage.Migrate.Choice"));
        cb.setSelected(EditStructurePreferences.AUTOMATIC_MIGRATION.get());
        cb.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent e) {
                EditStructurePreferences.AUTOMATIC_MIGRATION.set(isAutomaticMigrationSelected());
            }
View Full Code Here

        }
    }

    private JCheckBox createCheckBox(ExportableProperty p, ActionListener listener) {
        JCheckBox check = new KongaCheckBox(p.getName(), p.isExportedByDefault());
        check.addActionListener(listener);
        return check;
    }

    private OneColumnPanel createDisplayer() {
        OneColumnPanel p = new OneColumnPanel();
View Full Code Here

                selectionChanged();
            }
        };
        for (RelativePosition pos : positions) {
            JCheckBox check = new KongaCheckBox(pos.toString(), preSelected.contains(pos));
            check.addActionListener(listener);
            checkBoxes.put(pos, check);
        }
    }

    private EnumSet<RelativePosition> getSelectedPositionsImpl() {
View Full Code Here

    }

    private JCheckBox createApplyFilterChoice() {
        String label = "&Show only those " + entityType.getPlural() + " that are applicable to the current location";
        JCheckBox box = new KongaCheckBox(label, true);
        box.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent e) {
                updateFilterMode();
            }
View Full Code Here

                selectionChanged();
            }
        };
        for (RelativePosition pos : positions) {
            JCheckBox check = new KongaCheckBox(pos.toString(), preSelected.contains(pos));
            check.addActionListener(listener);
            checkBoxes.put(pos, check);
        }
    }

    private void selectionChanged() {
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.