Package com.volantis.styling.impl.engine

Examples of com.volantis.styling.impl.engine.StandardStylerContext


        // Create an action that will check that the matcher context and
        // styles is being passed through correctly.
        final MethodAction styleAction = new MethodAction() {
            public Object perform(MethodActionEvent event)
                    throws Throwable {
                StandardStylerContext context = (StandardStylerContext) event.getArgument(
                        StandardStylerContext.class);
                assertSame("Styler context", context, stylerContextMock);

                return StylerResult.STYLED;
            }
View Full Code Here


    }

    // Javadoc inherited.
    public void applyTo(StylerContext context) {

        StandardStylerContext standardContext = (StandardStylerContext) context;
        Styles styles = standardContext.getStyles();

        // Iterate through the entities (if any) getting the styles associated
        // with them.
        if (entities != null) {
            for (int i = 0; i < entities.length; i++) {
View Full Code Here

TOP

Related Classes of com.volantis.styling.impl.engine.StandardStylerContext

Copyright © 2018 www.massapicom. 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.