Package com.explodingpixels.painter

Examples of com.explodingpixels.painter.GradientWithBorderPainter


    private static Painter<Component> createSourceListActiveFocusedSelectionPainter() {
        Color topLineColor = new Color(0x707070);
        Color topColor = new Color(0x949494);
        Color bottomColor = new Color(0x6a6a6a);
        return new GradientWithBorderPainter(topLineColor, bottomColor, topColor, bottomColor);
    }
View Full Code Here


    private static Painter<Component> createSourceListInactiveSelectionPainter() {
        Color topLineColor = new Color(0x979797);
        Color topColor = new Color(0xb4b4b4);
        Color bottomColor = new Color(0x8a8a8a);
        return new GradientWithBorderPainter(topLineColor, bottomColor, topColor, bottomColor);
    }
View Full Code Here

    private static final Color SOFT_BOTTOM_GRADIENT_COLOR =
            new Color(212, 212, 212);

    ComponentTopBar() {
        setBackgroundPainter(new GradientWithBorderPainter(
                TOP_BORDER_COLOR, SOFT_BOTTOM_GRADIENT_COLOR,
                SOFT_TOP_GRADIENT_COLOR, SOFT_BOTTOM_GRADIENT_COLOR));
    }
View Full Code Here

    private static Painter<Component> createSourceListActiveFocusedSelectionPainter() {
        Color topLineColor = new Color(0x4580c8);
        Color topColor = new Color(0x5d94d6);
        Color bottomColor = new Color(0x1956ad);
        return new GradientWithBorderPainter(topLineColor, bottomColor, topColor, bottomColor);
    }
View Full Code Here

    private static Painter<Component> createSourceListActiveUnfocusedSelectionPainter() {
        Color topLineColor = new Color(0x91a0c0);
        Color topColor = new Color(0xa1b0cf);
        Color bottomColor = new Color(0x7185ab);
        return new GradientWithBorderPainter(topLineColor, bottomColor, topColor, bottomColor);
    }
View Full Code Here

    private static Painter<Component> createSourceListInactiveSelectionPainter() {
        Color topLineColor = new Color(0x979797);
        Color topColor = new Color(0xb4b4b4);
        Color bottomColor = new Color(0x8a8a8a);
        return new GradientWithBorderPainter(topLineColor, bottomColor, topColor, bottomColor);
    }
View Full Code Here

TOP

Related Classes of com.explodingpixels.painter.GradientWithBorderPainter

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.