Examples of KongaCheckBox


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

    }

    private JCheckBox createIncludeInProjectOption() {
        String label = getString("SourceDataFileProvider.IncludeInProject");
        boolean selected = includeExternalFilesInProjectPreference.get(INCLUDE_EXTERNAL_FILE_IN_PROJECT, true);
        JCheckBox cb = new KongaCheckBox(label, selected);
        cb.setToolTipText(getString("SourceDataFileProvider.IncludeInProject.ToolTip"));
        return cb;
    }
View Full Code Here

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

        private final JCheckBox activator;

        private final LogLevelSelector selector;

        public GlobalSelector() {
            activator = new KongaCheckBox("&Global setting:");
            activator.addActionListener(this);
            selector = new LogLevelSelector();
            selector.setEnabled(false);
        }
View Full Code Here

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

        text.setBorder(new BorderBuilder().line(new Color(25, 25, 25)).empty(2));
        return text;
    }

    private KongaCheckBox createLineWrapCheckBox() {
        KongaCheckBox box = new KongaCheckBox("Word wrap");
        box.addSelectionChangeListener(new Receiver<Boolean>() {

            @Override
            public void handle(Boolean wrap) {
                setLineWrap(wrap);
            }
View Full Code Here

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

     * @param selected
     *            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

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

    private final ChangeNotifier changeNotifier;
   
    public BooleanPreferenceUi(BooleanPreference pref, String label) {
        checkNotNull(pref, "pref");
        this.pref = pref;
        check = new KongaCheckBox(label);
        changeNotifier = new ChangeNotifier();
        check.addItemListener(changeNotifier);
    }
View Full Code Here

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

    private void notifyExternalListenerOfChange() {
        externalChangeListener.stateChanged(new ChangeEvent(this));
    }

    private JCheckBox createActivator(String title) {
        final KongaCheckBox check = new KongaCheckBox(title);
        check.addSelectionChangeListener(new Receiver<Boolean>() {

            @Override
            public void handle(Boolean selected) {
                setEnabled(selected);
                if (selected) {
View Full Code Here

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

   
    public MappingMessage(String title, String message, boolean autoMap) {
        this.title = title;
        JLabel label = createLabel(message, autoMap);
        Icon icon = AlertIcons.INFO;
        doNotShowAgain = new KongaCheckBox(ApplicationResources.STRINGS.getString("DoNotShowAgain"));
        doNotShowAgain.setBorder(Empty.border(24, 0, 0, 0));
        layout = new TwoColumnPanel();
        layout.setInsets(0, 8, 0, 0);
        layout.addRow(new JLabel(icon), label);
        layout.addRow(null, doNotShowAgain);
View Full Code Here

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

            @Override
            public void handle(String name) {
                objectSummary.setNewWizardName(name);
            }
        });
        autoMapChoice = new KongaCheckBox("Use &Automapper", true);
        setInitialName(operationParent, wizardName);
    }
View Full Code Here

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

        this.resultTable = resultTable;
        switchBox = createSwitchBox();
    }

    private KongaCheckBox createSwitchBox() {
        KongaCheckBox b = new KongaCheckBox("Show only failed connections");
        b.addSelectionChangeListener(new Receiver<Boolean>() {

            @Override
            public void handle(Boolean selected) {
                resultTable.setFilter(selected ? filter : null);
            }
View Full Code Here

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

        changeListeners.remove(lst);
    }
   
    private JCheckBox createSelector(final String label, final String preferenceKey) {
        boolean selected = preferences.getBoolean(preferenceKey, true);
        KongaCheckBox cb = new KongaCheckBox(label, selected);
        cb.addSelectionChangeListener(new Receiver<Boolean>() {
           
            @Override
            public void handle(Boolean selected) {
                preferences.putBoolean(preferenceKey, selected);
                updateFilter();
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.