Examples of traitValue()


Examples of org.foray.fotree.fo.prop.PdAlignmentBaseline.traitValue()

    public AlignmentBaseline traitAlignmentBaseline(final FObj fobj,
            final FoContext context) {
        final PdAlignmentBaseline property = (PdAlignmentBaseline)
                getProperty(FoProperty.ALIGNMENT_BASELINE);
        if (property != null) {
            return property.traitValue(context, fobj);
        }

        // Try the shorthand property.
        final PdVerticalAlign va = (PdVerticalAlign) getProperty(FoProperty.VERTICAL_ALIGN);
        if (va != null) {
View Full Code Here

Examples of org.foray.fotree.fo.prop.PdAllowedHeightScale.traitValue()

    public float[] traitAllowedHeightScale(final FObj fobj) {
        final PdAllowedHeightScale property =
                (PdAllowedHeightScale) getProperty(
                        FoProperty.ALLOWED_HEIGHT_SCALE);
        if (property != null) {
            return property.traitValue(fobj);
        }
        return PdAllowedHeightScale.traitValueNoInstance(fobj);
    }

    /**
 
View Full Code Here

Examples of org.foray.fotree.fo.prop.PdAllowedWidthScale.traitValue()

     */
    public float[] traitAllowedWidthScale(final FObj fobj) {
        final PdAllowedWidthScale property = (PdAllowedWidthScale) getProperty(
                FoProperty.ALLOWED_WIDTH_SCALE);
        if (property != null) {
            return property.traitValue(fobj);
        }
        return PdAllowedWidthScale.traitValueNoInstance(fobj);
    }

    /**
 
View Full Code Here

Examples of org.foray.fotree.fo.prop.PdBaselineShift.traitValue()

     */
    public int traitBaselineShift(final FObj fobj, final FoContext context) {
        final PdBaselineShift property = (PdBaselineShift)
                getProperty(FoProperty.BASELINE_SHIFT);
        if (property != null) {
            return property.traitValue(context, fobj);
        }
        /* Try the shorthand property. */
        final PdVerticalAlign va = (PdVerticalAlign) getProperty(FoProperty.VERTICAL_ALIGN);
        if (va != null) {
            return va.getBaselineShift(fobj, context);
View Full Code Here

Examples of org.foray.fotree.fo.prop.PdDisplayAlign.traitValue()

        final PdDisplayAlign property = (PdDisplayAlign) getProperty(
                FoProperty.DISPLAY_ALIGN);
        if (property == null) {
            return PdDisplayAlign.traitValueNoInstance();
        }
        return property.traitValue(context, fobj);
    }

    /**
     * Returns the relative-align property.
     * @param fobj The FObj to which the property belongs.
View Full Code Here

Examples of org.foray.fotree.fo.prop.PdDominantBaseline.traitValue()

     */
    public Baseline traitDominantBaseline(final FObj fobj, final FoContext context) {
        final PdDominantBaseline property = (PdDominantBaseline) getProperty(
                FoProperty.DOMINANT_BASELINE);
        if (property != null) {
            return property.traitValue(context, fobj);
        }
        /* Try the shorthand property. */
        final PdVerticalAlign va = (PdVerticalAlign) getProperty(FoProperty.VERTICAL_ALIGN);
        if (va != null) {
            return va.getDominantBaseline(fobj, context);
View Full Code Here

Examples of org.foray.fotree.fo.prop.PdHyphenationPushCharacterCount.traitValue()

                getProperty(FoProperty.HYPHENATION_PUSH_CHARACTER_COUNT);
        if (property == null) {
            return PdHyphenationPushCharacterCount.traitValueNoInstance(context,
                    fobj);
        }
        return property.traitValue(context, fobj);
    }

    /**
     * Returns the hyphenation-remain-character-count property.
     * @param fobj The FObj to which the property belongs.
View Full Code Here

Examples of org.foray.fotree.fo.prop.PdHyphenationRemainCharacterCount.traitValue()

                FoProperty.HYPHENATION_REMAIN_CHARACTER_COUNT);
        if (property == null) {
            return PdHyphenationRemainCharacterCount.traitValueNoInstance(
                    context, fobj);
        }
        return property.traitValue(context, fobj);
    }

    /**
     * Returns the language property.
     * @param fobj The FObj to which the property belongs.
View Full Code Here

Examples of org.foray.fotree.fo.prop.PdProvisionalDistanceBetweenStarts.traitValue()

                getProperty(FoProperty.PROVISIONAL_DISTANCE_BETWEEN_STARTS);
        if (property == null) {
            return PdProvisionalDistanceBetweenStarts.traitValueNoInstance(
                    context, fobj);
        }
        return property.traitValue(context, fobj);
    }

    /**
     * Returns the provisional-label-separation property.
     * @param fobj The FObj to which the property belongs.
View Full Code Here

Examples of org.foray.fotree.fo.prop.PdProvisionalLabelSeparation.traitValue()

                getProperty(FoProperty.PROVISIONAL_LABEL_SEPARATION);
        if (property == null) {
            return PdProvisionalLabelSeparation.traitValueNoInstance(context,
                    fobj);
        }
        return property.traitValue(context, fobj);
    }

    /**
     * Returns the border-color property for a specific direction.
     * @param fobj The FObj to which the property belongs.
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.