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

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

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

    <!-- com.alee.laf.scroll.WebScrollPane -->

    <!-- Scroll pane -->
    <style type="scrollpane">
        <component>
            <opaque>false</opaque>
            <background>237,237,237</background>
            <layout class="WebScrollPaneLayout$UIResource">
                <Vertical leading="false" trailing="false" hovering="false" extending="true" />
                <Horizontal leading="false" trailing="false" hovering="false" extending="true" />
            </layout>
        </component>
        <painter>
            <decorations>
                <decoration>
                    <WebShape round="2" />
                    <WebShadow type="outer" width="2" />
                    <LineBorder color="170,170,170" />
                    <ColorBackground color="white" />
                </decoration>
                <decoration states="focused">
                    <LineBorder color="85,130,190" />
                </decoration>
            </decorations>
        </painter>

        <!-- Viewport -->
        <style type="viewport" id="viewport" />

        <!-- Scroll bars -->
        <style type="scrollbar" id="scrollbar" extends="decorated" />
        <style type="scrollbar" id="vertical" extends="scrollbar" />
        <style type="scrollbar" id="horizontal" extends="scrollbar" />

        <!-- Corners -->
        <style type="canvas" id="corner">
            <painter>
                <decorations>
                    <decoration>
                        <WebShape round="0" sides="0,0,0,0" />
                        <LineBorder color="170,170,170" />
                        <ColorBackground color="245,245,245" />
                    </decoration>
                    <decoration states="lowerLeading">
                        <WebShape sides="1,0,0,1" />
                    </decoration>
                    <decoration states="lowerTrailing">
                        <WebShape sides="1,1,0,0" />
                    </decoration>
                    <decoration states="upperTrailing">
                        <WebShape sides="0,1,1,0" />
                    </decoration>
                </decorations>
            </painter>
        </style>

    </style>

    <!-- Undecorated scroll pane -->
    <style type="scrollpane" id="undecorated">
        <painter>
            <decorations>
                <decoration visible="false" />
            </decorations>
        </painter>
    </style>

    <!-- Scroll pane with no focus display -->
    <style type="scrollpane" id="nofocus">
        <painter>
            <decorations>
                <decoration states="focused">
                    <LineBorder color="170,170,170" />
                </decoration>
            </decorations>
        </painter>
    </style>

    <!-- Transparent scroll pane -->
    <style type="scrollpane" id="transparent" extends="undecorated">
        <component>
            <opaque>false</opaque>
        </component>

        <!-- Transprent viewport -->
        <style type="viewport" id="viewport" extends="transparent" />

        <!-- Undecorated scrollbar -->
        <style type="scrollbar" id="scrollbar" extends="undecorated" />

    </style>

    <!-- Buttonless scroll pane -->
    <style type="scrollpane" id="buttonless">

        <!-- Transparent scrollbar -->
        <style type="scrollbar" id="scrollbar" extends="buttonless" />

    </style>

    <!-- Undecorated buttonless scroll pane -->
    <style type="scrollpane" id="undecorated-buttonless" extends="undecorated">

        <!-- Undecorated scrollbar -->
        <style type="scrollbar" id="scrollbar" extends="buttonless" />

    </style>

    <!-- Transparent buttonless scroll pane -->
    <style type="scrollpane" id="transparent-buttonless" extends="transparent">

        <!-- Transparent scrollbar -->
        <style type="scrollbar" id="scrollbar" extends="undecorated-buttonless" />

    </style>

    <!-- Hovering scroll pane -->
    <style type="scrollpane" id="hovering">
        <component>
            <layout class="WebScrollPaneLayout$UIResource">
                <Vertical leading="false" trailing="true" hovering="true" extending="false" />
                <Horizontal leading="false" trailing="false" hovering="true" extending="true" />
            </layout>
        </component>

        <!-- Scroll bars -->
        <style type="scrollbar" id="scrollbar" extends="undecorated-buttonless">
            <painter>
                <thumbRound>0</thumbRound>
                <thumbMargin>0,0,0,0</thumbMargin>
                <scrollBarWidth>9</scrollBarWidth>
                <thumbBorderColor>120,120,120,48</thumbBorderColor>
                <thumbBackgroundColor>128,128,128,48</thumbBackgroundColor>
                <thumbDisabledBorderColor>120,120,120,24</thumbDisabledBorderColor>
                <thumbDisabledBackgroundColor>128,128,128,24</thumbDisabledBackgroundColor>
                <thumbRolloverBorderColor>60,60,60,64</thumbRolloverBorderColor>
                <thumbRolloverBackgroundColor>64,64,64,64</thumbRolloverBackgroundColor>
                <thumbPressedBorderColor>60,60,60,64</thumbPressedBorderColor>
                <thumbPressedBackgroundColor>60,60,60,86</thumbPressedBackgroundColor>
            </painter>
        </style>
        <style type="scrollbar" id="vertical" extends="scrollbar" padding="2,0,2,2" />
        <style type="scrollbar" id="horizontal" extends="scrollbar" padding="2,2,2,2" />

        <!-- Corners -->
        <style type="canvas" id="corner">
            <painter>
                <decorations overwrite="true" />
            </painter>
        </style>

    </style>

    <!-- Hovering scroll pane -->
    <style type="scrollpane" id="transparent-hovering" extends="hovering">
        <component>
            <opaque>false</opaque>
        </component>
        <painter>
            <decorations>
                <decoration visible="false" />
            </decorations>
        </painter>

        <!-- Transprent viewport -->
        <style type="viewport" id="viewport" extends="transparent" />

    </style>

    <!-- Popup scroll pane -->
    <style type="scrollpane" id="popup" extends="transparent-hovering">
        <component>
            <verticalScrollBarPolicy>20</verticalScrollBarPolicy>
            <horizontalScrollBarPolicy>31</horizontalScrollBarPolicy>
        </component>

        <!-- Popup list scrollbar -->
        <style type="scrollbar" id="vertical" extends="undecorated-buttonless">
            <painter>
                <thumbRound>2</thumbRound>
                <thumbMargin>0,0,0,3</thumbMargin>
                <scrollBarWidth>10</scrollBarWidth>
                <thumbBorderColor>120,120,120,48</thumbBorderColor>
                <thumbBackgroundColor>128,128,128,48</thumbBackgroundColor>
                <thumbDisabledBorderColor>120,120,120,24</thumbDisabledBorderColor>
                <thumbDisabledBackgroundColor>128,128,128,24</thumbDisabledBackgroundColor>
                <thumbRolloverBorderColor>60,60,60,64</thumbRolloverBorderColor>
                <thumbRolloverBackgroundColor>64,64,64,64</thumbRolloverBackgroundColor>
                <thumbPressedBorderColor>60,60,60,64</thumbPressedBorderColor>
                <thumbPressedBackgroundColor>60,60,60,86</thumbPressedBackgroundColor>
            </painter>
        </style>

    </style>

</skin>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy