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

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

<skin xmlns="http://weblookandfeel.com/XmlSkin">

    <!-- com.alee.laf.radiobutton.WebRadioButton -->

    <!-- Radio button -->
    <style type="radiobutton">
        <painter>
            <decorations>
                <decoration>
                    <ButtonLayout>
                        <SimpleButtonIcon constraints="icon" />
                        <ButtonText constraints="text" color="black" />
                    </ButtonLayout>
                </decoration>
                <decoration states="disabled">
                    <ButtonLayout>
                        <ButtonText color="120,120,120" />
                    </ButtonLayout>
                </decoration>
            </decorations>

            <!-- Radio state painter -->
            <checkStatePainter>
                <decorations>
                    <decoration size="17,17">
                        <EllipseShape />
                        <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">
                        <RadioIcon padding="2" leftColor="41,75,104" rightColor="117,127,145" />
                    </decoration>
                    <decoration states="focused">
                        <LineBorder color="85,130,190" />
                    </decoration>
                    <decoration states="disabled">
                        <WebShadow type="outer" opacity="0" />
                        <LineBorder color="lightGray" />
                        <ColorBackground color="223,223,223" />
                    </decoration>
                    <decoration states="disabled,checked">
                        <RadioIcon padding="2" leftColor="gray" rightColor="lightGray" />
                    </decoration>
                </decorations>
            </checkStatePainter>

        </painter>
    </style>

    <!-- Radio button supporting styled text -->
    <style type="radiobutton" id="styled">
        <painter>
            <decorations>
                <decoration>
                    <ButtonLayout>
                        <StyledButtonText constraints="text" color="black" />
                    </ButtonLayout>
                </decoration>
                <decoration states="disabled">
                    <ButtonLayout>
                        <StyledButtonText color="120,120,120" ignoreStyleColors="true" />
                    </ButtonLayout>
                </decoration>
            </decorations>
        </painter>
    </style>

    <!-- Link-like radio button -->
    <style type="radiobutton" id="link" extends="styled">
        <painter>
            <decorations>
                <decoration cursor="hand" />
                <decoration states="hover">
                    <ButtonLayout>
                        <StyledButtonText globalStyle="u" />
                    </ButtonLayout>
                </decoration>
                <decoration states="disabled">
                    <ButtonLayout>
                        <StyledButtonText globalStyle="" />
                    </ButtonLayout>
                </decoration>
            </decorations>
        </painter>
    </style>

</skin>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy