Examples of evalNumeric()


Examples of org.foray.fotree.value.FnProportionalColWidth.evalNumeric()

     */
    public double getValueProportional() {
        if (value() instanceof FnProportionalColWidth) {
            final FnProportionalColWidth function =
                    (FnProportionalColWidth) value();
            return function.evalNumeric();
        }
        return 0;
    }

    /**
 
View Full Code Here

Examples of org.foray.fotree.value.PropertyValue.evalNumeric()

        }
        if (pv.canEvalPercentage()) {
            return pv;
        }
        if (pv.canEvalNumeric()) {
            final double number = pv.evalNumeric();
            if (pv.getUnitPower() == Expr.UNIT_POWER_NUMERIC
                    && number >= 0
                    && number <= WKConstants.PERCENT_CONVERSION) {
                return pv;
            }
View Full Code Here

Examples of org.foray.fotree.value.PropertyValue.evalNumeric()

            return pv;
        }
        if (pv.canEvalNumeric()) {
            /* This test includes both expressions that can and cannot evaluate
             * to a length, because <number> is one of the input values. */
            if (pv.evalNumeric() >= 0) {
                return pv;
            }
        }
        if (pv instanceof DtSpace) {
            return pv;
View Full Code Here

Examples of org.foray.fotree.value.PropertyValue.evalNumeric()

        final PropertyValue pv = standardParse(fobj, value);
        if (pv.canEvalKeyword()) {
            return pv;
        }
        if (pv.canEvalNumeric()) {
            final double number = pv.evalNumeric();
            if (number >= 0
                    && number <= WKConstants.PERCENT_CONVERSION) {
                return pv;
            }
        }
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.