Package com.volantis.styling.values

Examples of com.volantis.styling.values.InitialValueFinder


    private final InitialValueFinder finder;
    private StyleValues inputValues;

    public TestPropertyClearerChecker() {
        this.finder = new InitialValueFinder();
    }
View Full Code Here


     * @param detailsSet Details about the set of properties to output.
     */
    public PropertyClearerCheckerImpl(PropertyDetailsSet detailsSet) {

        this.detailsSet = detailsSet;
        this.initialValueFinder = new InitialValueFinder();

        // Remember whether debugEnabled logging is turned on. This check is done
        // once here because this class is used thousands of times on every
        // page and every little helps.
        this.debugEnabled = LOGGER.isDebugEnabled();
View Full Code Here

    private Styles createInheritedStyles(
            Iterator iterator, StyleValues parentValues,
            StyleKeyword display) {

        InitialValueFinder initialValueFinder = new InitialValueFinder();
        Styles styles = new StylesImpl();
        MutablePropertyValues propertyValues = styles.getPropertyValues();
        while (iterator.hasNext()) {
            StyleProperty property = (StyleProperty) iterator.next();
            StyleValue value;
            if (property.getStandardDetails().isInherited()) {
                value = parentValues.getStyleValue(property);
            } else  {
                value = initialValueFinder.getInitialValue(
                        propertyValues, property.getStandardDetails());
            }

            propertyValues.setComputedValue(property, value);
        }
View Full Code Here

            CounterEngine counterEngine,
            PropertyValuesEvaluator propertyValuesEvaluator) {

        this.counterEngine = counterEngine;
        this.propertyValuesEvaluator = propertyValuesEvaluator;
        inheriter = new InheriterImpl(new InitialValueFinder());

        propertyValueTranslator = new PropertyValueTranslator();
    }
View Full Code Here

TOP

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

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.