Package org.foray.fotree.fo.prop

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


                getProperty(FoProperty.BACKGROUND_COLOR);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        // Try the shorthand
        final PdBackground background = (PdBackground) getProperty(
                FoProperty.BACKGROUND);
        if (background != null) {
            property = background.getColor();
            if (property != null) {
                return property.getValue(context, fobj);
            }
        }
        return PdBackgroundColor.getValueNoInstance();
View Full Code Here


                FoProperty.BACKGROUND_IMAGE);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        // Try the shorthand
        final PdBackground background = (PdBackground) getProperty(
                FoProperty.BACKGROUND);
        if (background != null) {
            property = background.getImage();
            if (property != null) {
                return property.getValue(context, fobj);
            }
        }
        return PdBackgroundImage.getValueNoInstance();
View Full Code Here

                FoProperty.BACKGROUND_REPEAT);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        // Try the shorthand
        final PdBackground background = (PdBackground) getProperty(
                FoProperty.BACKGROUND);
        if (background != null) {
            property = background.getRepeat();
            if (property != null) {
                return property.getValue(context, fobj);
            }
        }
        return PdBackgroundRepeat.getValueNoInstance();
View Full Code Here

                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

            return backgroundPosition.getShorthandValue(context,
                    fobj, AbsoluteAxis.HORIZONTAL,
                    paddingRectangleWidth, backgroundImageWidth);
        }
        // Try the second shorthand
        final PdBackground background = (PdBackground) getProperty(
                FoProperty.BACKGROUND);
        if (background != null) {
            backgroundPosition = background.getPosition();
            if (backgroundPosition != null) {
                return backgroundPosition.getShorthandValue(context,
                        fobj, AbsoluteAxis.HORIZONTAL,
                        paddingRectangleWidth, backgroundImageWidth);
            }
View Full Code Here

            return backgroundPosition.getShorthandValue(context,
                    fobj, AbsoluteAxis.VERTICAL,
                    paddingRectangleHeight, backgroundImageHeight);
        }
        // Try the second shorthand
        final PdBackground background = (PdBackground) getProperty(
                FoProperty.BACKGROUND);
        if (background != null) {
            backgroundPosition = background.getPosition();
            if (backgroundPosition != null) {
                return backgroundPosition.getShorthandValue(context,
                        fobj, AbsoluteAxis.VERTICAL,
                        paddingRectangleHeight, backgroundImageHeight);
            }
View Full Code Here

        }
        case AZIMUTH: {
            return new PdAzimuth(fobj, propertyFullName, attributeValue);
        }
        case BACKGROUND: {
            return new PdBackground(fobj, propertyFullName, attributeValue);
        }
        case BACKGROUND_ATTACHMENT: {
            return new PdBackgroundAttachment(fobj, propertyFullName,
                    attributeValue);
        }
View Full Code Here

TOP

Related Classes of org.foray.fotree.fo.prop.PdBackground

Copyright © 2018 www.massapicom. 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.