Examples of PdPosition


Examples of org.foray.fotree.fo.prop.PdPosition

        }
        case PLAY_DURING: {
            return new PdPlayDuring(fobj, propertyFullName, attributeValue);
        }
        case POSITION: {
            return new PdPosition(fobj, propertyFullName, attributeValue);
        }
        case PRECEDENCE: {
            return new PdPrecedence(fobj, propertyFullName, attributeValue);
        }
        case PROVISIONAL_DISTANCE_BETWEEN_STARTS: {
View Full Code Here

Examples of org.foray.fotree.fo.prop.PdPosition

     * @param context An object that knows how to resolve FO Tree context
     * issues.
     * @return The position property.
     */
    public FoValue getPosition(final FObj fobj, final FoContext context) {
        final PdPosition property = (PdPosition) getProperty(
                FoProperty.POSITION);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        return PdPosition.getValueNoInstance();
    }
View Full Code Here

Examples of org.foray.fotree.fo.prop.PdPosition

                FoProperty.ABSOLUTE_POSITION);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        // Try the shorthand.
        final PdPosition position = (PdPosition) getProperty(
                FoProperty.POSITION);
        if (position != null) {
            switch (position.getValue(context, fobj)) {
            case STATIC: {
                return FoValue.AUTO;
            }
            case RELATIVE: {
                return FoValue.AUTO;
View Full Code Here

Examples of org.foray.fotree.fo.prop.PdPosition

                FoProperty.RELATIVE_POSITION);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        // Try the shorthand.
        final PdPosition position = (PdPosition) getProperty(
                FoProperty.POSITION);
        if (position != null) {
            switch (position.getValue(context, fobj)) {
            case STATIC: {
                return FoValue.STATIC;
            }
            case RELATIVE: {
                return FoValue.RELATIVE;
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.