Examples of OnOffKeywordElementPropertyRenderer


Examples of com.volantis.mcs.protocols.css.emulator.renderer.OnOffKeywordElementPropertyRenderer

        addElementOnlyEmulationRenderer("u",
                new StyleProperty[] {
                    /*StylePropertyDetails.MCS_TEXT_UNDERLINE_COLOR,*/
                    StylePropertyDetails.MCS_TEXT_UNDERLINE_STYLE,
                },
                new OnOffKeywordElementPropertyRenderer(
                        MCSTextUnderlineStyleKeywords.SOLID, "u",
                        MCSTextUnderlineStyleKeywords.NONE,
                        StyleEmulationVisitor.ANTI_UNDERLINE_ELEMENT));

        // mcs-text-blink
        addElementOnlyEmulationRenderer("blink",
                new StyleProperty[] {StylePropertyDetails.MCS_TEXT_BLINK},
                new OnOffKeywordElementPropertyRenderer(
                        MCSTextBlinkKeywords.BLINK, "blink",
                        MCSTextBlinkKeywords.NONE,
                        StyleEmulationVisitor.ANTI_BLINK_ELEMENT));

        // mcs-text-underline
        addElementOnlyEmulationRenderer("strike",
                new StyleProperty[] {
                    /*StylePropertyDetails.MCS_TEXT_LINE_THROUGH_COLOR,*/
                    StylePropertyDetails.MCS_TEXT_LINE_THROUGH_STYLE,
                },
                new OnOffKeywordElementPropertyRenderer(
                        MCSTextLineThroughStyleKeywords.SOLID, "strike",
                        MCSTextLineThroughStyleKeywords.NONE,
                        StyleEmulationVisitor.ANTI_STRIKE_ELEMENT));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.