Examples of KongaCheckBox


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

        modePanel.setEnabled(StringUtils.isNotEmpty(stringQual));
        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());
View Full Code Here

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

    private final IntegerInputField portNumberField;

    public PortPanel(LoginModel model) {
        this.model = model;
        useDefaultPortBox = new KongaCheckBox();
        portNumberField = createPortField();
        useDefaultPortBox.addActionListener(new ActionListener() {

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

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

    public UserCredentialsUi(LoginModel model) {
        userNameField = createUserField();
        passwordField = new KongaPasswordField(20);
        passwordField.setSelectAllWhenFocused(true);
        rememberPasswordBox = new KongaCheckBox("&Remember password");
        bindModel(model);
    }
View Full Code Here

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

    private void addPermissionBox(Permissions perms, Permission p, GridBagConstraints gbc) {
        ++gbc.gridy;
        gbc.gridx = 0;
        panel.add(new JLabel(p.toString()), gbc);
        boolean selected = (perms != null) && perms.isAllowed(p);
        JCheckBox cb = new KongaCheckBox(selected);
        cb.setEnabled(false);
        gbc.gridx = 1;
        panel.add(cb, gbc);
    }
View Full Code Here

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

        BooleanBinding.bindAndSyncUi(model, LoginModel.USE_HTTPS, httpsSwitch);
        model.addPropertyChangeListener(LoginModel.SERVER, new DropDownExpander());
    }

    private JCheckBox createHttpsBox() {
        KongaCheckBox cb = new KongaCheckBox(PackageResources.Labels.HTTPS);
        cb.addSelectionChangeListener(new Receiver<Boolean>() {

            @Override
            public void handle(Boolean selected) {
                if (selected && dropDown != null) {
                    dropDown.expand();
View Full Code Here

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

    }

    private EnumMap<LogStatus, KongaCheckBox> createSelectors() {
        EnumMap<LogStatus, KongaCheckBox> selectors = Maps.newEnumMap(LogStatus.class);
        for (LogStatus s : LogStatus.values()) {
            selectors.put(s, new KongaCheckBox(s.toString(), lastSelection.contains(s)));
        }
        return selectors;
    }
View Full Code Here

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

        return policyChoice.isSelected() ? SchedulePolicy.STRICT : SchedulePolicy.YIELD_IF_STILL_RUNNING;
    }

    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

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

    private TableSelectionWidget createSelectionWidget(boolean singleTableOnly) {
        return singleTableOnly ? new SingleTableSelectionWidget(model) : new MultipleTableSelectionWidget(model);
    }

    private JCheckBox createSchemaSwitch() {
        JCheckBox cb = new KongaCheckBox(PackageResources.ObjectSelectionPage.Schema.SWITCH_TEXT);
        cb.setOpaque(false);
        return cb;
    }
View Full Code Here

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

    public boolean isAutomaticMigrationSelected() {
        return isBackupRequested() && migrationChoice.isSelected();
    }

    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

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

        getUndoRedoInstaller().install(cb);
        return cb;
    }

    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
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.