Package org.jitterbit.ui.style

Examples of org.jitterbit.ui.style.TextStyle


        c.setOpaque(false);
        return c;
    }

    private static TextStyle createTitleStyle() {
        TextStyle style = TextStyle.adjustSize(TextStyles.InfoText, 2);
        style = TextStyle.newStyle(style, Font.BOLD);
        return style;
    }
View Full Code Here


        layout.setOpaque(false);
        layout.decorate(canvas);
    }

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

            }
            setToolTipText(tt);
        }

        private void setStyle(Object value) {
            TextStyle style;
            if (value instanceof DataElementNode) {
                style = TextStyles.DefaultText;
            } else if (value instanceof NoneNode) {
                style = TextStyles.DefaultItalic;
            } else {
                style = TextStyles.DefaultBold;
            }
            setFont(style.getFont());
        }
View Full Code Here

    protected TextStyle getLabelStyle() {
        return getActivity().isEmpty() ? EMPTY : POPULATED;
    }

    private void updateContentLabelStyle() {
        TextStyle style = getLabelStyle();
        style.makeOver(getContentLabel());
    }
View Full Code Here

* @since 3.1.0
*/
public final class ScriptBuilderUtils {

    public static final void setTreeStyle(JTree tree) {
        TextStyle style = TextStyle.adjustSize(TextStyles.TreeLeafText, 1);
        style.makeOver(tree);
    }
View Full Code Here

            setAntiAliasingEnabled(true);
            setForeground(Color.WHITE);
        }

        private static TextStyle getStyle() {
            TextStyle template = WizardStyleSheet.SECTION_STYLE;
            return TextStyle.adjustSize(template, 4);
        }
View Full Code Here

        field.setCaretPosition(MARKER_LENGTH);
    }

    private void configureAppearance() {
        field.setBackground(new Color(0, 20, 88));
        new TextStyle("Monospaced, Courier New, Courier", 16, Font.BOLD, Color.WHITE).makeOver(field);
        field.setMargin(new Insets(3, 3, 3, 3));
        field.setSelectionColor(Color.WHITE);
        field.setSelectedTextColor(Color.BLACK);
        FileDropSupport.install(field, FileDropStrategy.INSERT_FULL_PATH);
        field.setFocusTraversalKeysEnabled(false);
View Full Code Here

        layout.northToSouth(layoutCaption(), layoutSelector(), layoutTree());
        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

        String value = property + ": " + version.toString();
        new PropertyNode(this, value);
    }

    private static TextDecorator getStyle() {
        TextStyle base = TextStyles.TreeLeafText;
        TextStyle bold = TextStyle.newStyle(base, Font.BOLD);
        return bold.asTextDecorator();
    }
View Full Code Here

    private final JLabel debuggee;

    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

TOP

Related Classes of org.jitterbit.ui.style.TextStyle

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.