Package com.volantis.mcs.runtime.layouts

Examples of com.volantis.mcs.runtime.layouts.RuntimeDeviceLayout


        // Save the current DeviceLayoutContext to restore later.

        // Set the current device layout context.
        formatRendererContext.pushDeviceLayoutContext(context);

        RuntimeDeviceLayout deviceLayout = formatRendererContext.getDeviceLayout();

        LayoutAttributes attributes = factory.createLayoutAttributes();
        attributes.setDeviceLayoutContext(context);

        // Get the style sheet associated with the layout and push it into the
        // styling engine.
        RuntimeDeviceLayout runtimeDeviceLayout = context.getDeviceLayout();
        CompiledStyleSheet layoutStyleSheet =
                runtimeDeviceLayout.getCompiledStyleSheet();

        // Set up the styling engine with the applicable style sheets.
        FormatStylingEngine formatStylingEngine =
                formatRendererContext.getFormatStylingEngine();
        // First add the layout style sheet into the styling engine.
View Full Code Here

TOP

Related Classes of com.volantis.mcs.runtime.layouts.RuntimeDeviceLayout

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.