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

com.alee.skin.light.resources.memorybar.xml Maven / Gradle / Ivy

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

    <!-- com.alee.extended.memorybar.WebMemoryBar -->

    <!-- Memory bar -->
    <style type="memorybar" padding="2">
        <component>
            <foreground>black</foreground>
        </component>
        <painter>
            <decorations>
                <decoration>
                    <WebShape round="2" />
                    <WebShadow type="outer" width="2" />
                    <LineBorder color="170,170,170" />
                    <GradientBackground>
                        <color>white</color>
                        <color>223,223,223</color>
                    </GradientBackground>
                    <MemoryBarBackground round="2">
                        <usedBorderColor>180,180,180</usedBorderColor>
                        <usedFillColor>90,90,90,50</usedFillColor>
                        <allocatedMarkColor>gray</allocatedMarkColor>
                    </MemoryBarBackground>
                    <MemoryBarText halign="0" />
                </decoration>
                <decoration states="vertical">
                    <MemoryBarText rotation="counterClockwise" />
                </decoration>
                <decoration states="ltr,vertical">
                    <GradientBackground from="0,0" to="1,0" />
                </decoration>
                <decoration states="rtl,vertical">
                    <GradientBackground from="1,0" to="0,0" />
                </decoration>
                <decoration states="focused">
                    <LineBorder color="85,130,190" />
                </decoration>
                <decoration states="pressed">
                    <WebShadow type="outer" opacity="0" />
                    <WebShadow type="inner" width="6" />
                    <ColorBackground color="210,210,210" />
                </decoration>
                <decoration states="disabled">
                    <WebShadow type="outer" opacity="0" />
                    <LineBorder color="lightGray" />
                    <MemoryBarBackground opacity="0.5" />
                    <MemoryBarText color="120,120,120" ignoreCustomColor="true" />
                </decoration>
            </decorations>
        </painter>

        <!-- Tooltip label styling -->
        <!-- todo Replace with custom tooltip style -->
        <style type="styledlabel" id="tooltip">
            <component>
                <foreground>white</foreground>
            </component>
        </style>

    </style>

    <!-- Undecorated memory bar -->
    <style type="memorybar" id="undecorated">
        <painter>
            <decorations overwrite="true">
                <decoration>
                    <BoundsShape />
                    <MemoryBarBackground round="2">
                        <usedBorderColor>180,180,180</usedBorderColor>
                        <usedFillColor>90,90,90,50</usedFillColor>
                        <allocatedMarkColor>gray</allocatedMarkColor>
                    </MemoryBarBackground>
                    <MemoryBarText halign="0" />
                </decoration>
                <decoration states="vertical">
                    <MemoryBarText rotation="counterClockwise" />
                </decoration>
                <decoration states="pressed">
                    <WebShadow type="inner" width="6" />
                </decoration>
                <decoration states="disabled">
                    <MemoryBarBackground opacity="0.5" />
                    <MemoryBarText color="120,120,120" ignoreCustomColor="true" />
                </decoration>
            </decorations>
        </painter>
    </style>

</skin>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy