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

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

There is a newer version: 1.2.14
Show newest version
<skin xmlns="http://weblookandfeel.com/XmlSkin">

    <!-- com.alee.laf.progressbar.WebProgressBar -->

    <!-- Progress bar -->
    <style type="progressbar">
        <component>
            <opaque>false</opaque>
        </component>
        <painter>
            <minimumContentSize>100,10</minimumContentSize>
            <decorations>
                <decoration>
                    <WebShape round="2" />
                    <WebShadow type="outer" width="2" />
                    <LineBorder color="170,170,170" />
                    <ColorBackground color="white" />
                </decoration>
                <decoration states="disabled">
                    <WebShadow type="outer" opacity="0" />
                    <LineBorder color="lightGray" />
                </decoration>
            </decorations>

            <!-- Progress line -->
            <progressPainter>
                <decorations>
                    <decoration>
                        <WebShape round="0" />
                        <WebShadow type="outer" width="1" />
                    </decoration>
                    <decoration states="progress">
                        <GradientBackground>
                            <color>233,233,233</color>
                            <color>223,223,223</color>
                        </GradientBackground>
                    </decoration>
                    <decoration states="progress,vertical">
                        <GradientBackground from="0,0" to="1,0" />
                    </decoration>
                    <decoration states="progress,vertical,rtl">
                        <GradientBackground from="1,0" to="0,0" />
                    </decoration>
                    <decoration states="enabled,progress,intermediate">
                        <MovingHighlightBackground id="overlay" orientation="horizontal" width="120" color="255,255,255,210" passes="1" duration="1s" delay="4s" />
                    </decoration>
                    <decoration states="enabled,progress,intermediate,vertical">
                        <MovingHighlightBackground id="overlay" orientation="vertical" />
                    </decoration>
                    <decoration states="enabled,indeterminate">
                        <MovingHighlightBackground id="overlay" orientation="horizontal" width="120" color="223,223,223" passes="2" duration="1.5s" delay="0s" />
                    </decoration>
                    <decoration states="enabled,indeterminate,vertical">
                        <MovingHighlightBackground id="overlay" orientation="vertical" />
                    </decoration>
                </decorations>
            </progressPainter>

            <!-- Progress text painter -->
            <progressTextPainter>
                <decorations>
                    <decoration>
                        <ProgressBarText color="black" halign="0" />
                    </decoration>
                    <decoration states="disabled">
                        <ProgressBarText color="120,120,120" />
                    </decoration>
                    <decoration states="vertical">
                        <ProgressBarText rotation="counterClockwise" />
                    </decoration>
                </decorations>
            </progressTextPainter>

        </painter>
    </style>

</skin>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy