Package org.jitterbit.ui.widget.list

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


    private ListModel createListModel(FileUi[] files) {
        if (files.length == 0) {
            Font font = TextStyles.DefaultListText.getFont();
            String text = getString("SourceDataFileProvider.NoFilesAvailable");
            ListDecorator data = new ItalicTextListDecorator(text, null, null, font);
            return ListUtils.createModel(data);
        } else {
            return ListUtils.createModel((Object[]) files);
        }
    }
View Full Code Here


        f.setCellRenderer(new ListRenderer());
        return f.newList(createEmptyProblemListModel());
    }

    private static ListModel createEmptyProblemListModel() {
        Object item = new ItalicTextListDecorator(getString("Displayer.Details.Instruction"));
        return new KongaListModel(Arrays.asList(item));
    }
View Full Code Here

TOP

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

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.