Examples of PropertyValues


Examples of com.volantis.styling.values.PropertyValues

        // set up property details set builder
        final PropertyDetailsBuilder propertyDetailsBuilder =
            new PropertyDetailsBuilder(STYLE_PROPERTY);
        propertyDetailsBuilder.setInherited(true);

        final PropertyValues parentValues = createDefaultParentValues();
        final PropertyClearerCheckerImpl checker = createChecker(
            propertyDetailsBuilder, parentValues);

        deviceValue = DEFAULT_VALUE;
View Full Code Here

Examples of com.volantis.styling.values.PropertyValues

        // set up property details set builder
        final PropertyDetailsBuilder propertyDetailsBuilder =
            new PropertyDetailsBuilder(STYLE_PROPERTY);
        propertyDetailsBuilder.setInherited(true);

        final PropertyValues parentValues = createOtherParentValues();
        final PropertyClearerCheckerImpl checker = createChecker(
            propertyDetailsBuilder, parentValues);

        deviceValue = DEFAULT_VALUE;
View Full Code Here

Examples of com.volantis.styling.values.PropertyValues

        // set up property details set builder
        final PropertyDetailsBuilder propertyDetailsBuilder =
            new PropertyDetailsBuilder(STYLE_PROPERTY);
        propertyDetailsBuilder.setInherited(true);

        final PropertyValues parentValues = createDefaultParentValues();
        final PropertyClearerCheckerImpl checker = createChecker(
            propertyDetailsBuilder, parentValues);

        deviceValue = OTHER_VALUE;
View Full Code Here

Examples of com.volantis.styling.values.PropertyValues

        // set up property details set builder
        final PropertyDetailsBuilder propertyDetailsBuilder =
            new PropertyDetailsBuilder(STYLE_PROPERTY);
        propertyDetailsBuilder.setInherited(true);

        final PropertyValues parentValues = createOtherParentValues();
        final PropertyClearerCheckerImpl checker = createChecker(
            propertyDetailsBuilder, parentValues);

        deviceValue = OTHER_VALUE;
View Full Code Here

Examples of com.volantis.styling.values.PropertyValues

        // set up property details set builder
        final PropertyDetailsBuilder propertyDetailsBuilder =
            new PropertyDetailsBuilder(STYLE_PROPERTY);
        propertyDetailsBuilder.setInherited(true);

        final PropertyValues parentValues = createDefaultParentValues();
        final PropertyClearerCheckerImpl checker = createChecker(
            propertyDetailsBuilder, parentValues);

        deviceValue = DeviceValues.UNKNOWN;
View Full Code Here

Examples of com.volantis.styling.values.PropertyValues

        // set up property details set builder
        final PropertyDetailsBuilder propertyDetailsBuilder =
            new PropertyDetailsBuilder(STYLE_PROPERTY);

        final PropertyValues parentValues = createDefaultParentValues();
        final PropertyClearerCheckerImpl checker = createChecker(
            propertyDetailsBuilder, parentValues);

        deviceValue = DeviceValues.NOT_SET;
View Full Code Here

Examples of com.volantis.styling.values.PropertyValues

            Priority expectedPriority,
            final DeviceValuesMock deviceValuesMock) {

        MutableStyleProperties outputValues =
            ThemeFactory.getDefaultInstance().createMutableStyleProperties();
        PropertyValues inputValues = helper.parseDeclarations(css);

        optimizer.optimize(TargetEntity.ELEMENT, inputValues, outputValues,
                deviceValuesMock);

        ShorthandValue shorthandValue =
View Full Code Here

Examples of com.volantis.styling.values.PropertyValues

            PropertyValue[] expectedValues,
            final DeviceValuesMock deviceValuesMock) {

        MutableStyleProperties outputValues =
            ThemeFactory.getDefaultInstance().createMutableStyleProperties();
        PropertyValues inputValues = helper.parseDeclarations(css);
       
        optimizer.optimize(TargetEntity.ELEMENT, inputValues, outputValues,
                deviceValuesMock);

        for (int i = 0; i < expectedValues.length; i++) {
View Full Code Here

Examples of com.volantis.styling.values.PropertyValues

            // set attributes that should be set for all form fields.
            addFormFieldAttributes(element, attributes);

            Styles styles = attributes.getStyles();
            PropertyValues propertyValues = styles.getPropertyValues();
            String value;
            if ((value = mcsImageHandler.getAsString(styles)) != null) {
                element.setAttribute("localsrc", value);
            }

            StyleValue styleValue;
            styleValue = propertyValues.getComputedValue(
                    StylePropertyDetails.MCS_SELECTION_LIST_TRIGGER);
            element.setAttribute("style", styleValue.getStandardCSS());

            String tabindex = (String) attributes.getTabindex();
View Full Code Here

Examples of com.volantis.styling.values.PropertyValues

        protected void initialise(XFSelectAttributes attributes) {

            selectAttributes = attributes;

            Styles styles = attributes.getStyles();
            PropertyValues propertyValues = styles.getPropertyValues();
            StyleValue styleValue = propertyValues.getComputedValue(
                    StylePropertyDetails.MCS_MENU_ORIENTATION);

            this.verticalOptions =
                    (styleValue == MCSMenuOrientationKeywords.VERTICAL);
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.