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

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

<skin>

    <!-- com.alee.laf.tree.WebTree -->

    <!-- Tree -->
    <style type="tree">
        <ui>
            <selectionStyle>line</selectionStyle>
            <expandSelected>false</expandSelected>
            <selectOnHover>false</selectOnHover>
        </ui>
        <painter>
            <paintLines>true</paintLines>
            <dashedLines>true</dashedLines>
            <linesColor>gray</linesColor>

            <!-- Hover node background painter -->
            <hoverPainter>
                <decorations>
                    <decoration opacity="0.4">
                        <WebShape round="0" />
                        <GradientBackground>
                            <color>218,218,208</color>
                            <color>206,206,196</color>
                        </GradientBackground>
                    </decoration>
                </decorations>
            </hoverPainter>

            <!-- Selected nodes background painter -->
            <selectionPainter>
                <decorations>
                    <decoration>
                        <WebShape round="0" />
                        <GradientBackground>
                            <color>218,218,208</color>
                            <color>206,206,196</color>
                        </GradientBackground>
                    </decoration>
                    <decoration states="disabled" opacity="0.5" />
                </decorations>
            </selectionPainter>

            <!-- Tree drop location painter -->
            <dropLocationPainter>
                <decorations>
                    <decoration states="dropOn">
                        <WebShape round="0" />
                        <WebShadow type="inner" width="5" />
                        <LineBorder color="85,130,190" stroke="basic;1;round;round;0;4,5" />
                    </decoration>
                    <decoration states="dropBetween" size="80,2">
                        <WebShape round="0" />
                        <LineBorder color="85,130,190" stroke="basic;1;round;round;0;4,5" />
                    </decoration>
                </decorations>
            </dropLocationPainter>

            <!-- Nodes selector painter -->
            <selectorPainter>
                <decorations>
                    <decoration>
                        <WebShape round="0" />
                        <LineBorder color="gray" stroke="basic;1;round;round;0;3,3" />
                        <ColorBackground color="0,0,255,25" />
                    </decoration>
                </decorations>
            </selectorPainter>

        </painter>

        <!-- Default tree cell renderer label -->
        <style type="label" id="renderer" padding="4,4,4,6" />

        <!-- Default tree cell renderer label -->
        <style type="styledlabel" id="renderer" padding="4,4,4,6" />

        <!-- Checkbox tree cell renderer checkbox -->
        <style type="tristatecheckbox" id="renderer" padding="0,4,0,0" />

        <!-- Default tree cell editor -->
        <style type="textfield" id="editor" extends="nofocus" />

    </style>

    <!-- Transparent tree -->
    <style type="tree" id="transparent">
        <component>
            <opaque>false</opaque>
        </component>
    </style>

</skin>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy