Package org.foray.fotree.fo.prop

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


     * @param context An object that knows how to resolve FO Tree context
     * issues.
     * @return The cue-before property.
     */
    public String traitCueBefore(final FObj fobj, final FoContext context) {
        AbstractCue property = (AbstractCue) getProperty(FoProperty.CUE_BEFORE);
        if (property != null) {
            return property.getValue(context, fobj,
                    FoProperty.CUE_BEFORE);
        }
        // Try the shorthand
        property = (AbstractCue) getProperty(FoProperty.CUE);
        if (property != null) {
            return property.getShorthandValue(context,
                    fobj, FoProperty.CUE_BEFORE);
        }
        return AbstractCue.getValueNoInstance();
    }
View Full Code Here


     * @param context An object that knows how to resolve FO Tree context
     * issues.
     * @return The cue-after property.
     */
    public String traitCueAfter(final FObj fobj, final FoContext context) {
        AbstractCue property = (AbstractCue) getProperty(FoProperty.CUE_AFTER);
        if (property != null) {
            return property.getValue(context, fobj, FoProperty.CUE_AFTER);
        }
        // Try the shorthand
        property = (AbstractCue) getProperty(FoProperty.CUE);
        if (property != null) {
            return property.getShorthandValue(context, fobj,
                    FoProperty.CUE_AFTER);
        }
        return AbstractCue.getValueNoInstance();
    }
View Full Code Here

TOP

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

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.