Examples of LabelDecorator


Examples of org.jitterbit.ui.widget.LabelDecorator

    private UiJob job;

    public SimpleJobProgressMonitor() {
        this.iconLabel = new IconLabel();
        LabelDecorator nameDecorator = TextStyles.DefaultText.asLabelDecorator(null);
        this.nameLabel = new DottedTextLabel(nameDecorator);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.LabelDecorator

    }
   
    private void addPopupWindowTitle(PopupWindow w) {
        String text = getString("Validator.Title");
        TextStyle style = TextStyles.DefaultErrorText;
        LabelDecorator title = StyleSheet.createPopupWindowTitle(text, style);
        w.setTitle(title, true);
    }
View Full Code Here

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

Examples of org.jitterbit.ui.widget.LabelDecorator

     *            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

Examples of org.jitterbit.ui.widget.LabelDecorator

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