org.apache.fop.fo.properties

Class BackgroundPositionShorthand.Maker

Enclosing Class:
BackgroundPositionShorthand
Implemented Interfaces:
Cloneable

public static class BackgroundPositionShorthand.Maker
extends ListProperty.Maker

Inner class for creating instances of this property

Field Summary

Fields inherited from class org.apache.fop.fo.properties.PropertyMaker

contextDep, corresponding, defaultProperty, defaultValue, propId, setByShorthand

Constructor Summary

Maker(int propId)

Method Summary

PercentBase
getPercentBase()
Returns a PercentBase whose getDimension() returns 1.
Property
make(PropertyList propertyList, String value, FObj fo)
If only background-position-horizontal is specified, background-position-vertical is set to "50%".

Methods inherited from class org.apache.fop.fo.properties.ListProperty.Maker

convertProperty

Methods inherited from class org.apache.fop.fo.properties.PropertyMaker

addEnum, addKeyword, addShorthand, addSubpropMaker, checkEnumValues, checkValueKeywords, clone, compute, convertProperty, convertPropertyDatatype, convertShorthandProperty, findProperty, get, getName, getPercentBase, getPropId, getShorthand, getSubprop, getSubpropMaker, isInherited, make, make, make, makeNewProperty, setByShorthand, setCorresponding, setDatatypeParser, setDefault, setDefault, setInherited, setPercentBase, setSubprop, useGeneric

Constructor Details

Maker

public Maker(int propId)

Method Details

getPercentBase

public PercentBase getPercentBase()
Returns a PercentBase whose getDimension() returns 1.

make

public Property make(PropertyList propertyList,
                     String value,
                     FObj fo)
            throws PropertyException
If only background-position-horizontal is specified, background-position-vertical is set to "50%".
Overrides:
make in interface PropertyMaker

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.