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

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

The newest version!
<skin xmlns="http://weblookandfeel.com/XmlSkin">

    <!-- com.alee.laf.panel.WebPanel -->

    <!-- Panel -->
    <!-- Note: It doesn't include decoration by default to allow making it transparent by simply making panel non-opaque -->
    <!-- This is an important workaround to allow popup windows (for example for JPopupMenu) to have transparent content -->
    <style type="panel">
        <component>
            <opaque>true</opaque>
            <background>237,237,237</background>
        </component>
        <painter />
    </style>

    <!-- Non-opaque panel -->
    <style type="panel" id="non-opaque">
        <component>
            <opaque>false</opaque>
        </component>
        <painter>
            <decorations>
                <decoration>
                    <BoundsShape />
                    <ColorBackground color="237,237,237" />
                </decoration>
            </decorations>
        </painter>
    </style>

    <!-- Transparent panel -->
    <style type="panel" id="transparent" extends="non-opaque">
        <painter>
            <decorations overwrite="true" />
        </painter>
    </style>

    <!-- Decorated panel -->
    <style type="panel" id="decorated" extends="non-opaque">
        <painter>
            <decorations overwrite="true">
                <decoration>
                    <WebShape round="2" />
                    <WebShadow type="outer" width="2" />
                    <LineBorder color="170,170,170" />
                    <ColorBackground color="237,237,237" />
                </decoration>
            </decorations>
        </painter>
    </style>

    <!-- Decorated panel -->
    <style type="panel" id="focusable" extends="decorated">
        <painter>
            <decorations>
                <decoration states="focused">
                    <LineBorder color="85,130,190" />
                </decoration>
            </decorations>
        </painter>
    </style>

</skin>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy