Examples of traitLeaderLengthMin()


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

            final LengthRange subProperty, final FObj fobj,
            final int parentAreaCRIPD) {
        final FObj effectiveParent = fobj.effectiveParent(context);
        switch (subProperty) {
        case MINIMUM: {
            return effectiveParent.traitLeaderLengthMin(context);
        }
        case OPTIMUM: {
            return effectiveParent.traitLeaderLengthOpt(context);
        }
        case MAXIMUM: {
View Full Code Here

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

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

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.