Package org.jitterbit.ui.util.option

Examples of org.jitterbit.ui.util.option.SelectedOptionListener


            }
        });
    }

    private void addCallback(final Receiver<LogDisplayMode> callback) {
        buttons.addSelectionListener(new SelectedOptionListener() {

            @Override
            public void selectionChanged(Option[] selected) {
                callback.handle((LogDisplayMode) selected[0]);
            }
View Full Code Here


    private ExclusiveOptionsPanel<SearchRuleOption> createRuleSelector(StringSearchRule[] rules) {
        SearchRuleOption[] options = Arrays2.transform(rules, SearchRuleOption.class, SearchRuleOption.CONVERTER);
        ExclusiveOptionsPanel<SearchRuleOption> selector = new ExclusiveOptionsPanel<SearchRuleOption>(
                        options, null, Orientation.HORIZONTAL);
        selector.addSelectionListener(new SelectedOptionListener() {

            @Override
            public void selectionChanged(Option[] selected) {
                StringSearchRule rule = (StringSearchRule) selected[0];
                model.setSearchRule(rule);
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.util.option.SelectedOptionListener

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.