Package org.foray.fotree.value

Examples of org.foray.fotree.value.DtBorderStyle


     * @return The property value's underlying BorderStyle value.
     */
    protected org.axsl.common.value.BorderStyle evalBorderStyle(
            final PropertyValue value) {
        final FoValue foValue = this.convertValueToFoValue(value);
        final DtBorderStyle borderStyle = DtBorderStyle.getInstance(
                foValue);
        return borderStyle.getValue();
    }
View Full Code Here


            final String token = st.nextToken();
            final PropertyValue parsedToken = this.standardParse(fobj, token,
                    DtBorderStyle.VALID_KEYWORDS);
            final FoValue foValue = this.convertValueToFoValue(parsedToken);
            if (DtBorderStyle.isBorderStyle(foValue)) {
                final DtBorderStyle borderStyle = DtBorderStyle.getInstance(
                        foValue);
                collection.addItem(borderStyle);
            } else {
                throw this.unexpectedValue(token, fobj);
            }
View Full Code Here

            final FoContext context, final Compass direction, final FObj fobj) {
        final ValueCollection collection = (ValueCollection) value();
        final int whichElement = PropertyCollection.whichElementForDirectional(
                direction, collection.getCount());
        final PropertyValue insideValue = collection.getItem(whichElement);
        final DtBorderStyle borderStyleProperty = (DtBorderStyle)
                insideValue;
        return borderStyleProperty.getValue();
    }
View Full Code Here

TOP

Related Classes of org.foray.fotree.value.DtBorderStyle

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.