Package org.foray.fotree.fo.prop

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


        }
        case WRITING_MODE: {
            return new PdWritingMode(fobj, propertyFullName, attributeValue);
        }
        case Z_INDEX: {
            return new PdZIndex(fobj, propertyFullName, attributeValue);
        }
        default: {
            return null;
        }
        }
View Full Code Here


     * @param context An object that knows how to resolve FO Tree context
     * issues.
     * @return The z-index property.
     */
    public int traitZIndex(final FObj fobj, final FoContext context) {
        final PdZIndex property = (PdZIndex) getProperty(FoProperty.Z_INDEX);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        return PdZIndex.getValueNoInstance();
    }
View Full Code Here

     * @param context An object that knows how to resolve FO Tree context
     * issues.
     * @return True iff the z-index property value is auto.
     */
    public boolean traitZIndexIsAuto(final FObj fobj, final FoContext context) {
        final PdZIndex property = (PdZIndex) getProperty(FoProperty.Z_INDEX);
        if (property != null) {
            return property.getValueIsAuto(context, fobj);
        }
        return PdZIndex.getValueIsAutoNoInstance();
    }
View Full Code Here

TOP

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

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.