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

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

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

    <!-- com.alee.laf.combobox.WebComboBox -->

    <!-- Combobox -->
    <style type="combobox">
        <component>
            <opaque>false</opaque>
        </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>
                </decoration>
                <decoration states="focused">
                    <LineBorder color="85,130,190" />
                </decoration>
                <decoration states="expanded">
                    <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" />
                </decoration>
            </decorations>
        </painter>

        <!-- Default editor -->
        <style type="textfield" id="editor">
            <painter>
                <decorations overwrite="true">
                    <decoration>
                        <WebShape round="2,0,0,2" sides="0,0,0,1" />
                        <LineBorder color="170,170,170" />
                        <ColorBackground color="white" />
                    </decoration>
                    <decoration states="focused">
                        <LineBorder color="85,130,190" />
                    </decoration>
                    <decoration states="disabled">
                        <WebShadow type="outer" opacity="0" />
                        <LineBorder color="lightGray" />
                    </decoration>
                </decorations>
            </painter>
        </style>

        <!-- Separator -->
        <style type="separator" id="separator" extends="vertical">
            <painter>
                <decorations overwrite="true">
                    <decoration>
                        <SeparatorStripes padding="2,2,2,0">
                            <Stripe>
                                <color>170,170,170</color>
                            </Stripe>
                        </SeparatorStripes>
                    </decoration>
                    <decoration states="editable">
                        <SeparatorStripes padding="0" overwrite="true" />
                    </decoration>
                </decorations>
            </painter>
        </style>

        <!-- Arrow button -->
        <style type="button" id="arrow" padding="2">
            <painter>
                <decorations>
                    <decoration visible="false">
                        <SetIcon icon="down-small" />
                    </decoration>
                    <decoration states="expanded">
                        <SetIcon icon="up-small" />
                    </decoration>
                </decorations>
            </painter>
        </style>

        <!-- Popup list scrollpane -->
        <style type="scrollpane" id="popup" extends="popup">

            <!-- Popup list -->
            <style type="list" id="popup" extends="transparent">
                <painter>

                    <!-- Hide item background painter -->
                    <itemPainter overwrite="true" />

                </painter>

                <!-- Default cell renderer label -->
                <style type="styledlabel" id="renderer" />

                <!-- Selected value renderer label -->
                <style type="styledlabel" id="box-renderer" extends="renderer" padding="2,4,2,4" />

                <!-- Popup list cell renderer label -->
                <style type="styledlabel" id="list-renderer" extends="renderer" padding="4,6,4,6" />

            </style>

        </style>

    </style>

    <!-- Hover-decorated-only combobox -->
    <style type="combobox" id="hover">
        <painter>
            <decorations>
                <decoration opacity="0" />
                <decoration states="focused">
                    <LineBorder color="170,170,170" />
                </decoration>
                <decoration states="enabled,hover" opacity="1" />
                <decoration states="enabled,pressed" opacity="1" />
                <decoration states="enabled,expanded" opacity="1" />
            </decorations>
        </painter>

        <!-- Separator -->
        <style type="separator" id="separator" extends="vertical">
            <painter>
                <decorations overwrite="true">
                    <decoration visible="false" />
                </decorations>
            </painter>
        </style>

    </style>

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

</skin>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy