Examples of traitColor()


Examples of org.axsl.fo.fo.prop.ColorPa.traitColor()

     */
    public Color getColor() {
        final Fo generatedBy = this.traitGeneratedBy();
        if (generatedBy instanceof ColorPa) {
            final ColorPa coloredFo = (ColorPa) generatedBy;
            return coloredFo.traitColor(this);
        }
        return this.getParent().getColor();
    }

}
View Full Code Here

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

            final FObj fobj) {
        final FObj parent = fobj.effectiveParent(context);
        if (parent == null) {
            return PdColor.getDefaultColor();
        }
        return parent.traitColor(context);
    }

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

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

            final FObj fobj) {
        final FObj parent = fobj.effectiveParent(context);
        if (parent == null) {
            return getDefaultColor();
        }
        return parent.traitColor(context);
    }

    /**
     * Returns the default (initial) value for this property.
     * @return The initial value for this property.
View Full Code Here

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

            final FObj fobj) {
        final FObj parent = fobj.effectiveParent(context);
        if (parent == null) {
            return getDefaultColor();
        }
        return parent.traitColor(context);
    }

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