Package org.jitterbit.ui.widget

Examples of org.jitterbit.ui.widget.LabelDecorator


        FileChooser fc = ApplicationFileChooser.getInstance(window);
        RecentFileStore recentFiles = getRecentFileStore();
        FileSelectorPanel panel = factory.recentFilesPanel(fc, FileSelectorPanel.OPEN,
                        Strings.getJitterPackString("Import.Browser.Title"), recentFiles);
        panel.setFileFilter(JitterPackerUi.FILE_FILTER);
        LabelDecorator d = TextStyles.DefaultText.asLabelDecorator(JitterpackResources.IMPORT_16);
        panel.decorateTitle(d);
        panel.addInputChangeListener(new SelectionNotifier());
        return panel;
    }
View Full Code Here


     *            the icon used by the returned <code>LabelDecorator</code> when it decorates a
     *            <code>Label</code>.
     */
    public LabelDecorator asLabelDecorator(final Icon icon) {
        if (labelDecorator == null) {
            labelDecorator = new LabelDecorator() {

                @Override
                public void decorate(Label label) {
                    label.setFont(font);
                    label.setTextColor(color);
View Full Code Here

                "Sharam",
                "Stephanie",
        };
        lists.setSourceItems(items, true);
        lists.setTitles("Source Title", "Target Title");
        lists.setTitleDecorator(new LabelDecorator() {

            @Override
            public void decorate(Label label) {
                label.setBackgroundColor(Color.LIGHT_GRAY);
                label.setTextColor(Color.RED);
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.widget.LabelDecorator

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.