Examples of traitLeaderLengthOpt()


Examples of org.foray.fotree.FObj.traitLeaderLengthOpt()

        switch (subProperty) {
        case MINIMUM: {
            return effectiveParent.traitLeaderLengthMin(context);
        }
        case OPTIMUM: {
            return effectiveParent.traitLeaderLengthOpt(context);
        }
        case MAXIMUM: {
            return effectiveParent.traitLeaderLengthMax(context);
        }
        }
View Full Code Here

Examples of org.foray.fotree.FObj.traitLeaderLengthOpt()

     * @throws PropertyException For errors parsing the value.
     */
    @Test
    public void testInitialOptimum() throws PropertyException {
        final FObj testFobj = makeTestFObj();
        final int leaderLengthOptimum = testFobj.traitLeaderLengthOpt(
                STD_FO_CONTEXT);
        /* This initial value is straight out of the XSL-FO Recommendation. */
        assertEquals(12000, leaderLengthOptimum);
    }

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.