Examples of KongaListFactory


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

        list = createList();
        list.setLabel(KongaLabel.withMnemonic("&Drivers"));
    }
   
    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

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

        }
        return sb.toString();
    }

    private void createItemList() {
        KongaListFactory factory = ComponentFactories.newKongaListFactory();
        factory.setCellRenderer(new DefaultListDecorRenderer());
        factory.setVisibleRowCount(8);
        entityList = factory.newList(getAffectedItems());
        entityList.setSelectionMode(ListSelectionMode.SINGLE_SELECTION);
        entityList.addSelectionListener(new ListSelectionHandler());
    }
View Full Code Here

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

    public void requestFocus() {
        list.requestFocus();
    }

    private KongaList createList(Collection<? extends IntegrationEntity> entities, int visibleRowCount) {
        KongaListFactory factory = ComponentFactories.newKongaListFactory();
        factory.setVisibleRowCount(visibleRowCount);
        factory.setPrototypeValue("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
        IntegrationEntityListDecorRenderer renderer = new IntegrationEntityListDecorRenderer();
        renderer.setInsets(new Insets(2, 0, 2, 0));
        factory.setCellRenderer(renderer);
        return factory.newList(entities);
    }
View Full Code Here

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

            addQuestion();
        }

        private KongaList createList() {
            ListModel model = getListModel();
            KongaListFactory listFactory = ComponentFactories.newKongaListFactory();
            listFactory.setCellRenderer(new ListRenderer());
            listFactory.setPrototypeValue("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
            return listFactory.newList(model);
        }
View Full Code Here

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

    public void setDefaultAction(SelectionAction a) {
        list.setDefaultAction(a);
    }

    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) {
View Full Code Here

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

    }

    private KongaList createList(LdapStructureEntryNode entry) {
        List<LdapStructureAttribute> attrs = entry.getSelectedAttributes();
        Collections.sort(attrs, AttributeComparators.nameOrder(true));
        KongaListFactory factory = ComponentFactories.newKongaListFactory();
        factory.setCellRenderer(new AttributeListRenderer());
        return factory.newList(attrs);
    }
View Full Code Here

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

        Answer a = Ask.continueOrCancel(owner, message, "Overwrite files", Option.CANCEL, Type.WARNING);
        return a.isContinue();
    }
   
    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

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

        this.caption = caption;
        this.timestampList = createList(timestamps);
    }

    private static KongaList createList(Date[] dates) {
        KongaListFactory factory = createListFactory();
        List<Object> listItems = createListObjects(dates);
        return factory.newList(listItems);
    }
View Full Code Here

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

        List<Object> listItems = createListObjects(dates);
        return factory.newList(listItems);
    }

    private static KongaListFactory createListFactory() {
        KongaListFactory factory = ComponentFactories.newKongaListFactory();
        factory.setStyle(TextStyles.DefaultMonoSpaced);
        factory.setVisibleRowCount(10);
        return factory;
    }
View Full Code Here

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

        }
        return new FilteredListModel(unfiltered);
    }

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