Package org.foray.fotree.value

Examples of org.foray.fotree.value.PropertyCollection.findProperty()


     * Returns the "font-family" component from this compound property.
     * @return The "font-family" component from this compound property.
     */
    public PdFontFamily getFamily() {
        final PropertyCollection collection = (PropertyCollection) value();
        return (PdFontFamily) collection.findProperty(
                FoProperty.FONT_FAMILY);
    }

    /**
     * {@inheritDoc}
 
View Full Code Here


     * Returns the background-color component of this compound property.
     * @return The background-color component of this compound property.
     */
    public PdBackgroundColor getColor() {
        final PropertyCollection collection = (PropertyCollection) value();
        return (PdBackgroundColor) collection.findProperty(
                FoProperty.BACKGROUND_COLOR);
    }

    /**
     * Returns the background-image component of this compound property.
View Full Code Here

     * Returns the background-image component of this compound property.
     * @return The background-image component of this compound property.
     */
    public PdBackgroundImage getImage() {
        final PropertyCollection collection = (PropertyCollection) value();
        return (PdBackgroundImage) collection.findProperty(
                FoProperty.BACKGROUND_IMAGE);
    }

    /**
     * Returns the background-repeat component of this compound property.
View Full Code Here

     * Returns the background-repeat component of this compound property.
     * @return The background-repeat component of this compound property.
     */
    public PdBackgroundRepeat getRepeat() {
        final PropertyCollection collection = (PropertyCollection) value();
        return (PdBackgroundRepeat) collection.findProperty(
                FoProperty.BACKGROUND_REPEAT);
    }

    /**
     * Returns the background-attachment component of this compound property.
View Full Code Here

     * Returns the background-attachment component of this compound property.
     * @return The background-attachment component of this compound property.
     */
    public PdBackgroundAttachment getAttachment() {
        final PropertyCollection collection = (PropertyCollection) value();
        return (PdBackgroundAttachment) collection.findProperty(
                FoProperty.BACKGROUND_ATTACHMENT);
    }

    /**
     * Returns the background-position component of this compound property.
View Full Code Here

     * Returns the background-position component of this compound property.
     * @return The background-position component of this compound property.
     */
    public PdBackgroundPosition getPosition() {
        final PropertyCollection collection = (PropertyCollection) value();
        return (PdBackgroundPosition) collection.findProperty(
                FoProperty.BACKGROUND_POSITION);
    }

    /**
     * {@inheritDoc}
 
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.