Package org.jitterbit.ui.widget.list

Examples of org.jitterbit.ui.widget.list.KongaList


    private KongaList createCandidatesList() {
        listModel = new DefaultListModel();
        KongaListFactory f = ComponentFactories.newKongaListFactory();
        f.setCellRenderer(new ListRenderer());
        f.setVisibleRowCount(8);
        KongaList list = f.newList(listModel);
        list.setLabel(new JLabel("Suggested mappings:"));
        list.setDefaultAction(new SelectNodeAction());
        return list;
    }
View Full Code Here


   
    private KongaList createList() {
        KongaListFactory factory = ComponentFactories.newKongaListFactory();
        factory.setPrototypeValue("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
        factory.setVisibleRowCount(8);
        KongaList list = factory.newList(model);
        list.setSelectionMode(ListSelectionMode.SINGLE_SELECTION);
        return list;
    }
View Full Code Here

        private boolean atLeastOneDependantWillBeDeleted;

        public Question() {
            layout = new BorderLayoutBuilder(0, 5);
            KongaList list = createList();
            layout.center(list);
            addCaption();
            addQuestion();
        }
View Full Code Here

    private KongaList createList() {
        KongaListFactory factory = ComponentFactories.newKongaListFactory();
        factory.setVisibleRowCount(15);
        factory.setPrototypeValue("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
        factory.setCellRenderer(RendererUtils.getIntegrationEntityListCellRenderer());
        KongaList list = factory.newList();
        list.setSelectionMode(ListSelectionMode.SINGLE_SELECTION);
        list.addSelectionListener(new SelectionListener() {

            @Override
            public void selectionChanged(SelectionChangedEvent evt) {
                IntegrationEntity entity = getSelectedEntity();
                publishPath(ResultList.this, entity);
View Full Code Here

    }
   
    private UiProvider createMessage(List<ServerFile> conflicts) {
        KongaListFactory factory = ComponentFactories.newKongaListFactory();
        factory.setVisibleRowCount(6);
        KongaList list = factory.newList(conflicts);
        JLabel caption = new JLabel("The following XSD files already exist on the server and will be overwritten.");
        return new BorderLayoutBuilder(0, 5).northToSouth(caption, list, createBottomMessage());
    }
View Full Code Here

    private KongaList createList(ListModel model) {
        KongaListFactory listFactory = ComponentFactories.newKongaListFactory();
        listFactory.setCellRenderer(RendererUtils.getIntegrationEntityListCellRenderer());
        listFactory.setPrototypeValue("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
        listFactory.setVisibleRowCount(15);
        KongaList list = listFactory.newList(model);
        return list;
    }
View Full Code Here

            listFactory.setVisibleRowCount(Math.min(items.length, 20));
            listFactory.setController(getListController());
            if (renderer != null) {
                listFactory.setCellRenderer(renderer);
            }
            KongaList list = listFactory.newList(model);
            list.setSelectionMode(ListSelectionMode.SINGLE_SELECTION);
            return list;
        }
View Full Code Here

            }
        };
        f.setCellRenderer(new DefaultListDecorRenderer());
        f.setVisibleRowCount(Math.min(20, model.getSize() + 2));
        setPrototypeCellValue(f, model);
        KongaList list = f.newList(model);
        list.setTransient(isTransient);
        list.setDefaultAction(selectionAction);
        list.setSelectionMode(ListSelectionMode.SINGLE_SELECTION);
        list.addSelectionListener(new SelectedTokenListener());
        return list;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.widget.list.KongaList

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.