Package com.volantis.styling.values

Examples of com.volantis.styling.values.ImmutablePropertyValues


        final StylerMock stylerMock = new StylerMock("stylerMock", expectations);

        final StylesMock stylesMock = new StylesMock("stylesMock", expectations);

        final ImmutablePropertyValues inheritableValues =
                new ImmutablePropertyValuesMock(
                        "inheritableValues", expectations);

        final MutablePropertyValuesMock valuesMock =
                new MutablePropertyValuesMock("valuesMock", expectations);
View Full Code Here


        return pageContext.getOutputBufferStack();
    }

    // Javadoc inherited.
    public void pushDeviceLayoutContext(DeviceLayoutContext context) {
        ImmutablePropertyValues propertyValues =
                context.getInheritableStyleValues();
        FormatStylingEngine stylingEngine = getFormatStylingEngine();
        stylingEngine.pushPropertyValues(propertyValues);

        pageContext.pushDeviceLayoutContext(context);
View Full Code Here

    // Javadoc inherited.
    public void popDeviceLayoutContext() {
        DeviceLayoutContext context = pageContext.popDeviceLayoutContext();

        ImmutablePropertyValues propertyValues =
                context.getInheritableStyleValues();
        FormatStylingEngine stylingEngine = getFormatStylingEngine();
        stylingEngine.popPropertyValues(propertyValues);
    }
View Full Code Here

                STYLE_VALUE_FACTORY.getString(null, layoutName));
        }

        // Store the style properties into the device layout context to allow
        // it to inherit from them.
        ImmutablePropertyValues immutablePropertyValues =
                propertyValues.createImmutablePropertyValues();
        DeviceLayoutContext dlc = pageContext.getDeviceLayoutContext();
        dlc.setInheritableStyleValues(immutablePropertyValues);

        try {
View Full Code Here

                STYLE_VALUE_FACTORY.getString(null, layoutName));
        }

        // Store the style properties into the device layout context to allow
        // it to inherit from them.
        ImmutablePropertyValues immutablePropertyValues =
                propertyValues.createImmutablePropertyValues();
        DeviceLayoutContext dlc = pageContext.getDeviceLayoutContext();
        dlc.setInheritableStyleValues(immutablePropertyValues);

        try {
View Full Code Here

            // Get the property values for the canvas and store them in the
            // device layout context so that it will inherit from them.
            Styles styles = pattributes.getStyles();
            PropertyValues propertyValues = styles.getPropertyValues();
            ImmutablePropertyValues immutablePropertyValues =
                    propertyValues.createImmutablePropertyValues();

            DeviceLayoutContext dlc = pageContext.getDeviceLayoutContext();
            dlc.setInheritableStyleValues(immutablePropertyValues);
View Full Code Here

TOP

Related Classes of com.volantis.styling.values.ImmutablePropertyValues

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.