Examples of PdBackgroundAttachment


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

     * issues.
     * @return The background-attachment property.
     */
    public FoValue traitBackgroundAttachment(final FObj fobj,
            final FoContext context) {
        PdBackgroundAttachment property = (PdBackgroundAttachment) getProperty(
                FoProperty.BACKGROUND_ATTACHMENT);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        // Try the shorthand
        final PdBackground background = (PdBackground) getProperty(
                FoProperty.BACKGROUND);
        if (background != null) {
            property = background.getAttachment();
            if (property != null) {
                return property.getValue(context, fobj);
            }
        }
        return PdBackgroundAttachment.getValueNoInstance();
    }
View Full Code Here

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

        }
        case BACKGROUND: {
            return new PdBackground(fobj, propertyFullName, attributeValue);
        }
        case BACKGROUND_ATTACHMENT: {
            return new PdBackgroundAttachment(fobj, propertyFullName,
                    attributeValue);
        }
        case BACKGROUND_COLOR: {
            return new PdBackgroundColor(fobj, propertyFullName,
                    attributeValue);
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.