Package org.jitterbit.ui.style

Examples of org.jitterbit.ui.style.TextStyle


        }
       
        private TextStyle getCategoryStyle() {
            Font font = new JButton().getFont();
            font = font.deriveFont(Font.BOLD, font.getSize2D() + 1);
            return new TextStyle(font, Color.BLACK);
        }
View Full Code Here


    private JLabel createCaption(String title) {
        if (title == null) {
            return null;
        }
        TextStyle captionStyle = getTitleStyle();
        JLabel caption = captionStyle.makeLabel(title);
        caption.setIcon(titleIcon);
        caption.setForeground(getForegroundColor());
        caption.setFont(caption.getFont().deriveFont(Font.BOLD));
        return caption;
    }
View Full Code Here

    private TextStyle getTitleStyle() {
        if (titleStyle != null) {
            return titleStyle;
        }
        TextStyle style = (TextStyle) UIManager.get("konga.overlaydecorator.caption-style");
        if (style == null) {
            style = new TextStyle(new JLabel());
        }
        return style;
    }
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.