Package org.jitterbit.ui.style

Examples of org.jitterbit.ui.style.TextStyle.makeLabel()


        layout.decorate(canvas);
    }

    private static JLabel createDisclaimer() {
        TextStyle style = TextStyle.newStyle(TextStyles.ErrorInfoText, Font.BOLD);
        return style.makeLabel(PackageResources.UpdateSourcePage.DISCLAIMER);
    }

    @Override
    public void requestFocus() {
        table.requestFocus();
View Full Code Here


        layout.decorate(canvas);
    }

    private UiProvider layoutCaption() {
        TextStyle labelStyle = WizardStyleSheet.MEDIUM_CAPTION_STYLE;
        JLabel itemLabel = labelStyle.makeLabel("");
        RendererUtils.decorateRenderer(itemLabel, getStartPoint(), Size.MEDIUM);
        BoxBuilder top = BoxBuilder.horizontal();
        top.addAll(labelStyle.makeLabel("Deep copy of "), itemLabel);
        return top;
    }
View Full Code Here

    private UiProvider layoutCaption() {
        TextStyle labelStyle = WizardStyleSheet.MEDIUM_CAPTION_STYLE;
        JLabel itemLabel = labelStyle.makeLabel("");
        RendererUtils.decorateRenderer(itemLabel, getStartPoint(), Size.MEDIUM);
        BoxBuilder top = BoxBuilder.horizontal();
        top.addAll(labelStyle.makeLabel("Deep copy of "), itemLabel);
        return top;
    }

    private UiProvider layoutSelector() {
        JLabel label = UiProviderLabel.create("&Select which of the following items to copy:", selector);
View Full Code Here

    private final JLabel postfix;

    public DebuggeeNameLabel() {
        TextStyle style = TextStyles.DefaultText;
        prefix = style.makeLabel("");
        debuggee = style.makeLabel("");
        TextStyle postfixStyle = TextStyle.adjustSize(TextStyles.DefaultBold, -1);
        postfix = postfixStyle.makeLabel("");
    }
View Full Code Here

    private final JLabel postfix;

    public DebuggeeNameLabel() {
        TextStyle style = TextStyles.DefaultText;
        prefix = style.makeLabel("");
        debuggee = style.makeLabel("");
        TextStyle postfixStyle = TextStyle.adjustSize(TextStyles.DefaultBold, -1);
        postfix = postfixStyle.makeLabel("");
    }

    public void layout(BoxBuilder parent) {
View Full Code Here

    public DebuggeeNameLabel() {
        TextStyle style = TextStyles.DefaultText;
        prefix = style.makeLabel("");
        debuggee = style.makeLabel("");
        TextStyle postfixStyle = TextStyle.adjustSize(TextStyles.DefaultBold, -1);
        postfix = postfixStyle.makeLabel("");
    }

    public void layout(BoxBuilder parent) {
        parent.addAllWithSpace(5, prefix, debuggee, postfix);
    }
View Full Code Here

        JLabel startLabel = createLabel("JobConsole.InfoDisplayer.Label.Started");
        JLabel endLabel = createLabel("JobConsole.InfoDisplayer.Label.Ended");
        JLabel durationLabel = createLabel("JobConsole.InfoDisplayer.Label.Duration");

        TextStyle style = TextStyles.DefaultTextSmall;
        JLabel startValue = style.makeLabel(getTime(start));
        JLabel endValue = style.makeLabel(getTime(end));
        JLabel durationValue = style.makeLabel(getDuration(start, end));

        displayer = new JPanel(new DialogLayout());
        displayer.add(startLabel);
View Full Code Here

        JLabel endLabel = createLabel("JobConsole.InfoDisplayer.Label.Ended");
        JLabel durationLabel = createLabel("JobConsole.InfoDisplayer.Label.Duration");

        TextStyle style = TextStyles.DefaultTextSmall;
        JLabel startValue = style.makeLabel(getTime(start));
        JLabel endValue = style.makeLabel(getTime(end));
        JLabel durationValue = style.makeLabel(getDuration(start, end));

        displayer = new JPanel(new DialogLayout());
        displayer.add(startLabel);
        displayer.add(startValue);
View Full Code Here

        JLabel durationLabel = createLabel("JobConsole.InfoDisplayer.Label.Duration");

        TextStyle style = TextStyles.DefaultTextSmall;
        JLabel startValue = style.makeLabel(getTime(start));
        JLabel endValue = style.makeLabel(getTime(end));
        JLabel durationValue = style.makeLabel(getDuration(start, end));

        displayer = new JPanel(new DialogLayout());
        displayer.add(startLabel);
        displayer.add(startValue);
        displayer.add(endLabel);
View Full Code Here

    }

    private InputField getDateTimeDisplayerAsInputField() {
        String name = getString("Label.CurrentTimeInSelectedTimeZone");
        TextStyle style = TextStyles.InputLabelText;
        JLabel lbl = style.makeLabel(name);
        dateTimeDisplayer.setAppearance(style.asLabelDecorator(null));
        return new InputField(name, BorderLayoutBuilder.fillWith(dateTimeDisplayer), lbl) {

            @Override
            public void makeReadOnly() {
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.