Examples of LabelAdapter


Examples of org.jitterbit.ui.widget.LabelAdapter

*
*/
public final class RendererUtils {

    public static void decorateRenderer(JLabel renderer, IntegrationEntity entity, Size size) {
        decorateRenderer(new LabelAdapter(renderer), entity, size, ValidationStatus.VALID, false);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.LabelAdapter

     * @param longMode
     *            if <code>true</code> the full path from the closest <code>RootFolder</code> will
     *            be included in the rendered text.
     */
    public static void decorateRenderer(JLabel renderer, IntegrationEntity entity, boolean longMode) {
        decorateRenderer(new LabelAdapter(renderer), entity, ValidationStatus.VALID, longMode);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.LabelAdapter

     */
    public static void decorateRenderer(JLabel renderer,
                                        IntegrationEntity entity,
                                        ValidationStatus validation,
                                        boolean longMode) {
        decorateRenderer(new LabelAdapter(renderer), entity, validation, longMode);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.LabelAdapter

   
    private final ProgressMessage message;

    public StatusUpdater(JLabel label, String baseMsg) {
        this.label = label;
        message = new ProgressMessage(baseMsg, new LabelAdapter(label));
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.LabelAdapter

    }

    @Override
    public final void decorateTitle(LabelDecorator decorator) {
        if (titleLabel != null) {
            Label lbl = new LabelAdapter(titleLabel);
            decorator.decorate(lbl);
        }
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.LabelAdapter

    /**
     * Decorates the browse-button used by this file selector.
     */
    public final void decorateBrowseButton(LabelDecorator decorator) {
        Label label = new LabelAdapter(browseButton);
        decorator.decorate(label);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.LabelAdapter

     */
    public DottedTextLabel(int maxDots, LabelDecorator decorator) {
        checkArgument(maxDots >= 1, "maxDots must be >= 1 (was " + maxDots + ")");
        label = new KongaLabel(" ");
        if (decorator != null) {
            decorator.decorate(new LabelAdapter(label));
        }
        message = new ProgressMessage("", label);
        message.setMaxDots(maxDots);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.LabelAdapter

    /**
     *
     * @since 1.2
     */
    public void decorateLabel(LabelDecorator decorator) {
        Label lbl = new LabelAdapter(label);
        decorator.decorate(lbl);
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.LabelAdapter

    public void setAppearance(final LabelDecorator decorator) {
        UiUtils.runOnEventThread(new Runnable() {

            @Override
            public void run() {
                decorator.decorate(new LabelAdapter(label));
            }
        });
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.LabelAdapter

     * @param b
     *            the <code>JButton</code> to adapt.
     * @return a <code>Label</code> view of the given button.
     */
    public static Label asLabel(JButton b) {
        return new LabelAdapter(b);
    }
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.