Package com.volantis.styling.properties

Examples of com.volantis.styling.properties.PropertyDetails


            StyleProperty property, StyleValue inputValue,
            StatusUsage usage,
            PropertyValues inputValues,
            StyleValue deviceValue) {

        final PropertyDetails details = property.getStandardDetails();
        StyleValue initialValue = finder.getInitialValue(this.inputValues, details);
        if (inputValue == OptimizerHelper.ANY ||
                inputValue.equals(initialValue)) {
            return PropertyStatus.CLEARABLE;
        }
View Full Code Here


    public PropertyStatus checkStatus(
            StyleProperty property, StyleValue inputValue,
            StatusUsage usage, PropertyValues inputValues,
            StyleValue deviceValue) {

        PropertyDetails details = detailsSet.getPropertyDetails(property);
        if (details == null) {
            // The property is not supported on the target device so assume
            // that it can just be discarded.
            return PropertyStatus.CLEARABLE;
        }

        final boolean initialKnown =
                (details.getInitialValueAccuracy() ==
                InitialValueAccuracy.KNOWN);

        // The property can be cleared if it will have no effect on the styling
        // on the device. In general that means that it can be cleared if its
        // value matches the value that the device would use in the event that
View Full Code Here

TOP

Related Classes of com.volantis.styling.properties.PropertyDetails

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.