Package org.jitterbit.ui.widget.combobox

Examples of org.jitterbit.ui.widget.combobox.KongaComboBox$SelectedObjectSender


        selector = createSelector(model);
        addListeners(model);
    }

    private KongaComboBox createSelector(EntitySearchModel model) {
        KongaComboBox combo = new KongaComboBox(model.getSearchTypes());
        combo.setRenderer(new Renderer());
        combo.setSelectedItem(model.getSearchType());
        return combo;
    }
View Full Code Here


        private final JComboBox childSelector;

        public LinkDefiner(DatabaseObject parent, DatabaseObject child, ColumnDisplayOrder order) {
            this.parent = parent;
            parentSelector = new KongaComboBox(order.getColumns(parent));
            parentSelector.setRenderer(new Renderer("Select Parent Key"));
            parentSelector.addActionListener(this);
            this.child = child;
            childSelector = new KongaComboBox(order.getColumns(child));
            childSelector.setRenderer(new Renderer("Select Child Key"));
            childSelector.addActionListener(this);
            clearSelection();
        }
View Full Code Here

        uninstaller = new DynamicTreeModelUpdater(explorer.getProject(), treeModel);
        editAction = explorer.getEditSelectedEntityAction(entityType);
        createNewAction = explorer.getCreateNewEntityAction(entityType, new NewItemCallback());
        newItemHandler = NoReceiver.create();
        comboModel = new ComboModelImpl(treeModel);
        comboBox = new KongaComboBox(comboModel);
        comboBox.setPrototypeDisplayValue("XXXXXXXXXXXXXXXXXXXXxXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
        comboBox.setMaximumRowCount(Intervals.valueWithin(comboModel.getSize(), 8, 20));
        TreeComboBoxSelectionControl.install(comboBox);
        renderer = new DefaultTreeComboBoxRenderer(comboModel, new IntegrationEntityListDecorRenderer());
        comboBox.setRenderer(renderer);
View Full Code Here

    private final KongaComboBox comboBox;

    private SourceTargetTypeComboBox(Locatable locatable, SourceTarget st) {
        ComboBoxModel model = getModel(locatable, st);
        comboBox = new KongaComboBox(model);
        comboBox.setRenderer(new Renderer(st));
    }
View Full Code Here

        refreshAction = new RefreshAction(controller);
        bindProperties();
    }

    private static KongaComboBox createServerSelector() {
        KongaComboBox s = new KongaComboBox();
        s.setPrototypeDisplayValue("XXXXXXXXXXXXXXXXXXXXXXXXXX");
        s.setRenderer(new ComboRenderer());
        return s;
    }
View Full Code Here

        comboBox.removeActionListener(internalSelectionListener);
        internalSelectionListener = null;
    }

    private KongaComboBox createComboBox(EntityComboBoxModel model) {
        KongaComboBox cb = new KongaComboBox(model);
        RendererUtils.installIntegrationEntityRenderer(cb);
        cb.setTransferHandler(new DropHandler(model));
        return cb;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.widget.combobox.KongaComboBox$SelectedObjectSender

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.