Examples of wasExplicitlySpecified()


Examples of com.volantis.styling.values.MutablePropertyValues.wasExplicitlySpecified()

            return false;
        }
        if (onlyExplicitlySpecified) {
            MutablePropertyValues extended =
                    values;
            if (!extended.wasExplicitlySpecified(property)) {
                return false;
            }
        }

        return true;
View Full Code Here

Examples of com.volantis.styling.values.MutablePropertyValues.wasExplicitlySpecified()

        //read the style values from the hr attributes
        width = propertyValues
                .getComputedValue(StylePropertyDetails.WIDTH);

        if (propertyValues.wasExplicitlySpecified(StylePropertyDetails.TEXT_ALIGN)) {
            align = propertyValues
                    .getComputedValue(StylePropertyDetails.TEXT_ALIGN);

        } else {
            align = TextAlignKeywords.CENTER;
View Full Code Here

Examples of com.volantis.styling.values.MutablePropertyValues.wasExplicitlySpecified()

        super.initialiseState(hrAttrs);

        MutablePropertyValues propertyValues =
                hrAttrs.getStyles().getPropertyValues();

        if (propertyValues.wasExplicitlySpecified(StylePropertyDetails.MARGIN_TOP)) {
            marginTop = propertyValues.getComputedValue(
                    StylePropertyDetails.MARGIN_TOP);
        } else {
            marginTop = DEFAULT_VERTICAL_SPACING;
        }
View Full Code Here

Examples of com.volantis.styling.values.MutablePropertyValues.wasExplicitlySpecified()

                    StylePropertyDetails.MARGIN_TOP);
        } else {
            marginTop = DEFAULT_VERTICAL_SPACING;
        }

        if (propertyValues.wasExplicitlySpecified(StylePropertyDetails.MARGIN_BOTTOM)) {
            marginBottom = propertyValues.getComputedValue(
                    StylePropertyDetails.MARGIN_BOTTOM);
        } else {
            marginBottom = DEFAULT_VERTICAL_SPACING;
        }
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.