All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alee.skin.web.resources.checkbox.xml Maven / Gradle / Ivy

Go to download

WebLaf is a Java Swing Look and Feel and extended components library for cross-platform applications

There is a newer version: 2.2.1
Show newest version
<skin>

    <!-- com.alee.laf.checkbox.WebCheckBox -->

    <!-- Checkbox -->
    <style type="checkbox">
        <component>
            <foreground>black</foreground>
        </component>
        <painter>
            <selectedForeground>black</selectedForeground>

            <!-- Check state painter -->
            <checkStatePainter>
                <decorations>
                    <decoration size="17,17">
                        <WebShape round="2" />
                        <WebShadow type="outer" width="2" />
                        <LineBorder color="170,170,170" />
                        <GradientBackground type="radial" from="0.5,0.5" to="2,0.5">
                            <color>white</color>
                            <color>223,223,223</color>
                        </GradientBackground>
                    </decoration>
                    <decoration states="checked">
                        <CheckIcon bounds="margin" stroke="basic;2" color="28,66,97" />
                    </decoration>
                    <decoration states="focused">
                        <LineBorder color="85,130,190" />
                    </decoration>
                    <decoration states="disabled">
                        <WebShadow type="outer" opacity="0" />
                        <LineBorder color="lightGray" />
                    </decoration>
                    <decoration states="disabled,checked">
                        <CheckIcon bounds="margin" color="gray" />
                    </decoration>
                </decorations>
            </checkStatePainter>

        </painter>
    </style>

</skin>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy