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

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

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

    <!-- com.alee.laf.text.WebTextArea -->

    <!-- Text area -->
    <style type="textarea" padding="2,2,2,2">
        <component>
            <opaque>true</opaque>
            <background>white</background>
            <foreground>black</foreground>
            <selectedTextColor>black</selectedTextColor>
            <selectionColor>154,178,206</selectionColor>
            <caretColor>gray</caretColor>
        </component>
        <painter>
            <inputPromptHorizontalPosition>0</inputPromptHorizontalPosition>
            <inputPromptVerticalPosition>0</inputPromptVerticalPosition>
            <inputPromptForeground>160,160,160</inputPromptForeground>
            <inputPromptOnlyWhenEditable>true</inputPromptOnlyWhenEditable>
            <hideInputPromptOnFocus>true</hideInputPromptOnFocus>
            <decorations>
                <decoration>
                    <BoundsShape />
                    <ColorBackground color="white" />
                </decoration>
            </decorations>
        </painter>
    </style>

    <!-- Non-opaque text area -->
    <style type="textarea" id="non-opaque">
        <component>
            <opaque>false</opaque>
        </component>
    </style>

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

    <!-- Decorated text area -->
    <style type="textarea" 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="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>

</skin>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy