Package org.jitterbit.ui.widget

Examples of org.jitterbit.ui.widget.LabelDecorator


        builder.setPreferenceKey(new PreferencesKey(ImportJitterPackUi.class, "Destination"));
        builder.setTitle(Strings.getJitterPackString("Import.Destination"));
        builder.setDefaultFolder(suggestedDestinationFolder);
        FileSelectorPanel panel = builder.buildPanel(window);
        panel.setBrowseButtonText(Strings.get("Import.Destination.Browse"));
        LabelDecorator d = TextStyles.DefaultText.asLabelDecorator(ApplicationResources.ICONS.getIcon("FolderClosed.16"));
        panel.decorateTitle(d);
        return panel;
    }
View Full Code Here


    }


    private void createProgressPanel() {
        progressPanel = new ProgressListenerPanel(false);
        LabelDecorator decorator = TextStyles.DefaultText.asLabelDecorator(null);
        progressPanel.decorateLabel(decorator);
    }
View Full Code Here

            @Override
            public void inputChanged(InputChangeEvent e) {
                updateStartStopActionEnabledState();
            }
        });
        LabelDecorator titleDecorator = TextStyles.DefaultText.asLabelDecorator(
                        ApplicationResources.ICONS.getIcon("FolderClosed.16"));
        rootSelector.decorateTitle(titleDecorator);
    }
View Full Code Here

        RecentFileStore recentFiles = getRecentFileStore();
        FileSelectorPanelFactory factory = FileSelectorFactory.getFactory();
        FileSelectorPanel selector = factory.singleFilePanel(fc, FileSelectorPanel.SAVE,
                        Strings.getJitterPackString("Export.FileSelector.Title"), recentFiles);
        selector.setFileFilter(JitterPackerUi.FILE_FILTER);
        LabelDecorator d = TextStyles.InputLabelText.asLabelDecorator(JitterpackResources.EXPORT_16);
        selector.decorateTitle(d);
        selector.displayLastFile();
        selector.addActionListener(new ActionListener() {

            @Override
View Full Code Here

    private SourceAndTargetList createClassLists() {
        SourceAndTargetList lists = new SourceAndTargetList(ComponentFactories.newKongaListFactory(),
                        ComponentFactories.newKongaListFactory());
        lists.setTransferPolicy(new ClassListTransferPolicy());
        lists.setTitles(PackageResources.Wizard.ClassSelector.AVAILABLE, PackageResources.Wizard.ClassSelector.SELECTED);
        lists.setTitleDecorator(new LabelDecorator() {

            @Override
            public void decorate(Label label) {
                label.setBackgroundColor(StyleSheet.ComponentTableHeader.getBackground());
                label.setTextColor(TextStyles.ComponentTableHeaderText.getColor());
View Full Code Here

    }
   
    private PopupWindow createPopupWindow(JComponent source) {
        PopupWindow w = PopupWindow.newWindow(source, displayer, null);
        w.setResizable(true);
        LabelDecorator title = createTitle();
        w.setTitle(title, true);
        return w;
    }
View Full Code Here

            }
        };
    }

    private DottedTextLabel createShortStatusLabel() {
        LabelDecorator decorator = TextStyles.DefaultTextSmall.asLabelDecorator(null);
        return new DottedTextLabel(decorator);
    }
View Full Code Here

        customizeComboBox(selector);
        return selector;
    }

    private void customizeTitleAndButton(AbstractFileSelectorPanel selector) {
        LabelDecorator d = TextStyles.InputLabelText.asLabelDecorator(null);
        selector.decorateTitle(d);
        selector.decorateBrowseButton(LabelDecorators.BROWSE_BUTTON);
    }
View Full Code Here

    private UiJob job;

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

    }
   
    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

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.